Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000873/0.000873, allocations: 96.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 176.4 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7096/0.7096, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 8 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.009496/0.1773, allocations: 6.252 MB / 0.5628 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5477/0.7251, allocations: 129.1 MB / 0.6889 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.7262, allocations: 19.88 kB / 0.6889 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.7269, allocations: 194.8 kB / 0.6891 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.7291, allocations: 0.7407 MB / 0.6898 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.7316, allocations: 0.869 MB / 0.6907 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.7333, allocations: 1.107 MB / 0.6918 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.7354, allocations: 1.288 MB / 0.693 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.7361, allocations: 478 kB / 0.6935 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.7369, allocations: 0.5233 MB / 0.694 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.737, allocations: 40 kB / 0.694 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.738, allocations: 435.4 kB / 0.6945 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.7383, allocations: 322.8 kB / 0.6948 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.7386, allocations: 264.9 kB / 0.695 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.7402, allocations: 1.683 MB / 0.6967 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.7402, allocations: 0 / 0.6967 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7402, allocations: 0 / 0.6967 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.7402, allocations: 0 / 0.6967 GB, free: 10.72 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.002845/0.7431, allocations: 1.585 MB / 0.6982 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.7431, allocations: 8.031 kB / 0.6982 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002302/0.7433, allocations: 173.3 kB / 0.6984 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.7447, allocations: 325.7 kB / 0.6987 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.7462, allocations: 0.9415 MB / 0.6996 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.7462, allocations: 87.06 kB / 0.6997 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.7464, allocations: 115.9 kB / 0.6998 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.7486, allocations: 1.374 MB / 0.7011 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.7487, allocations: 7.938 kB / 0.7011 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.7488, allocations: 48 kB / 0.7012 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.884e-05/0.7489, allocations: 66.05 kB / 0.7013 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.7513, allocations: 1.518 MB / 0.7027 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006424/0.7577, allocations: 4.885 MB / 0.7075 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.7596, allocations: 1.096 MB / 0.7086 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.7599, allocations: 126 kB / 0.7087 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.7609, allocations: 0.643 MB / 0.7093 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.555e-06/0.761, allocations: 0 / 0.7093 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=104): time 0.005006/0.766, allocations: 2.271 MB / 0.7115 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.7661, allocations: 252.3 kB / 0.7118 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.7672, allocations: 0.9459 MB / 0.7127 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.7673, allocations: 45.7 kB / 0.7128 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.7677, allocations: 0.5702 MB / 0.7133 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.768, allocations: 339.1 kB / 0.7136 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.768, allocations: 20 kB / 0.7137 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7681, allocations: 345.9 kB / 0.714 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.7688, allocations: 385.7 kB / 0.7144 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/0.7695, allocations: 0.5677 MB / 0.7149 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/0.7703, allocations: 462.8 kB / 0.7153 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7703, allocations: 4 kB / 0.7154 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002955/0.7733, allocations: 1.301 MB / 0.7166 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.7737, allocations: 1.229 MB / 0.7178 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.7737, allocations: 4.109 kB / 0.7178 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.7749, allocations: 264.4 kB / 0.7181 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.7759, allocations: 223.7 kB / 0.7183 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.7788, allocations: 2.041 MB / 0.7203 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.78, allocations: 126.4 kB / 0.7204 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.7801, allocations: 39.98 kB / 0.7204 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.7801, allocations: 0 / 0.7204 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0017/0.7818, allocations: 0.9642 MB / 0.7214 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7818, allocations: 4.328 kB / 0.7214 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7819, allocations: 8 kB / 0.7214 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008341/0.7827, allocations: 228 kB / 0.7216 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.7827, allocations: 16.77 kB / 0.7216 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008976/0.7836, allocations: 115.3 kB / 0.7217 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.7837, allocations: 43.97 kB / 0.7218 GB, free: 32 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008744/0.7846, allocations: 445.5 kB / 0.7222 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.7849, allocations: 122.5 kB / 0.7223 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.7878, allocations: 1.482 MB / 0.7238 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.7879, allocations: 12 kB / 0.7238 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7879, allocations: 0 / 0.7238 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.7879, allocations: 7.984 kB / 0.7238 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.7925, allocations: 2.848 MB / 0.7266 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7926, allocations: 0 / 0.7266 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/0.7933, allocations: 203.7 kB / 0.7268 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007948/0.7941, allocations: 208.8 kB / 0.727 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.7942, allocations: 31.98 kB / 0.727 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.7963, allocations: 1.878 MB / 0.7288 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.7963, allocations: 4.031 kB / 0.7288 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.799, allocations: 1.579 MB / 0.7304 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006407/0.7997, allocations: 371 kB / 0.7307 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.7999, allocations: 28 kB / 0.7308 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009645/0.8008, allocations: 111.9 kB / 0.7309 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.801, allocations: 80.88 kB / 0.7309 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/0.8011, allocations: 43.98 kB / 0.731 GB, free: 6.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009544/0.8021, allocations: 0.6733 MB / 0.7316 GB, free: 5.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8021, allocations: 0 / 0.7316 GB, free: 5.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001608/0.8037, allocations: 0.5077 MB / 0.7321 GB, free: 5.078 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00406/0.8078, allocations: 3.173 MB / 0.7352 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.8106, allocations: 1.67 MB / 0.7369 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8107, allocations: 0 / 0.7369 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.8118, allocations: 0.6998 MB / 0.7375 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.8132, allocations: 309.1 kB / 0.7378 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.8257, allocations: 9.413 MB / 0.747 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009585/0.8267, allocations: 1.251 MB / 0.7483 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001896/0.8286, allocations: 461 kB / 0.7487 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008832/0.8295, allocations: 0.5266 MB / 0.7492 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/0.8295, allocations: 7.938 kB / 0.7492 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.8808, allocations: 28.61 MB / 0.7772 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.881, allocations: 259.8 kB / 0.7774 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/3.772, allocations: 0 / 0.7774 GB, free: 6.773 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: