Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001198/0.001198, allocations: 102.6 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001368, allocations: 195.9 kB / 17.34 MB, free: 5.742 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7544/0.7544, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 61.52 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1595, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005594/0.1651, allocations: 3.246 MB / 0.6348 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.1688, allocations: 2.011 MB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.1691, allocations: 8 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1702, allocations: 294.7 kB / 0.637 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.1709, allocations: 238.9 kB / 0.6372 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.1717, allocations: 283.3 kB / 0.6375 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.1724, allocations: 406.7 kB / 0.6379 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.1728, allocations: 207 kB / 0.6381 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.1731, allocations: 163.4 kB / 0.6383 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.1736, allocations: 195.3 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.1737, allocations: 24 kB / 0.6385 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.1743, allocations: 267.5 kB / 0.6387 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.1744, allocations: 119.7 kB / 0.6388 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1746, allocations: 143.3 kB / 0.639 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.1753, allocations: 499.3 kB / 0.6394 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1754, allocations: 0 / 0.6394 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1754, allocations: 4 kB / 0.6394 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1754, allocations: 0 / 0.6394 GB, free: 12.81 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001348/0.1767, allocations: 0.5926 MB / 0.64 GB, free: 12.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1768, allocations: 12.03 kB / 0.64 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.557e-05/0.1769, allocations: 66.64 kB / 0.6401 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.178, allocations: 120.4 kB / 0.6402 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.1785, allocations: 276.5 kB / 0.6405 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.1785, allocations: 20.92 kB / 0.6405 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.1786, allocations: 40.44 kB / 0.6405 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007791/0.1794, allocations: 453.1 kB / 0.641 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1795, allocations: 8 kB / 0.641 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.1795, allocations: 8 kB / 0.641 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.1797, allocations: 36.53 kB / 0.641 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.1803, allocations: 369.9 kB / 0.6414 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.183, allocations: 2.218 MB / 0.6435 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.1835, allocations: 258.4 kB / 0.6438 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1837, allocations: 168.8 kB / 0.6439 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1838, allocations: 7.938 kB / 0.644 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1838, allocations: 30.56 kB / 0.644 GB, free: 7.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.1838, allocations: 0 / 0.644 GB, free: 7.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001864/0.1857, allocations: 1.059 MB / 0.645 GB, free: 6.684 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1857, allocations: 55.34 kB / 0.6451 GB, free: 6.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.186, allocations: 268.8 kB / 0.6453 GB, free: 6.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1861, allocations: 29.7 kB / 0.6454 GB, free: 6.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1862, allocations: 184 kB / 0.6455 GB, free: 6.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.1863, allocations: 82.75 kB / 0.6456 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.1864, allocations: 85.53 kB / 0.6457 GB, free: 5.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1866, allocations: 330.8 kB / 0.646 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.1868, allocations: 159.9 kB / 0.6462 GB, free: 5.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1872, allocations: 241.6 kB / 0.6464 GB, free: 5.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.1877, allocations: 414.8 kB / 0.6468 GB, free: 4.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1878, allocations: 3.938 kB / 0.6468 GB, free: 4.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001279/0.189, allocations: 0.6003 MB / 0.6474 GB, free: 4.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1891, allocations: 5.562 kB / 0.6474 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1891, allocations: 8 kB / 0.6474 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007368/0.1898, allocations: 188.8 kB / 0.6476 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.1902, allocations: 63.89 kB / 0.6476 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.1934, allocations: 2.503 MB / 0.6501 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.1937, allocations: 20.02 kB / 0.6501 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.1938, allocations: 19.98 kB / 0.6501 GB, free: 1.203 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.194, allocations: 173.1 kB / 0.6503 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.194, allocations: 23.8 kB / 0.6503 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.1946, allocations: 358.2 kB / 0.6506 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1946, allocations: 4 kB / 0.6506 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1946, allocations: 0 / 0.6506 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1946, allocations: 3.984 kB / 0.6506 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1958, allocations: 0.8092 MB / 0.6514 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1958, allocations: 4 kB / 0.6514 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.1962, allocations: 71.94 kB / 0.6515 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.1962, allocations: 8.062 kB / 0.6515 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.1963, allocations: 4 kB / 0.6515 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1963, allocations: 7.938 kB / 0.6515 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1963, allocations: 3.938 kB / 0.6515 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.197, allocations: 0.6077 MB / 0.6521 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.1972, allocations: 124.8 kB / 0.6522 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.1973, allocations: 12 kB / 0.6523 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.1975, allocations: 19.97 kB / 0.6523 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.1975, allocations: 15.92 kB / 0.6523 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.1976, allocations: 8 kB / 0.6523 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002384/0.1978, allocations: 188.5 kB / 0.6525 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1978, allocations: 0 / 0.6525 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004163/0.1982, allocations: 84 kB / 0.6526 GB, free: 14.58 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.1993, allocations: 1.162 MB / 0.6537 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009592/0.2003, allocations: 0.5451 MB / 0.6542 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2003, allocations: 0 / 0.6542 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2005, allocations: 147.8 kB / 0.6544 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.201, allocations: 64 kB / 0.6544 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.2063, allocations: 3.693 MB / 0.658 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.2067, allocations: 0.7951 MB / 0.6588 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002426/0.207, allocations: 82.83 kB / 0.6589 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.2071, allocations: 83.41 kB / 0.659 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.2071, allocations: 0 / 0.659 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.241, allocations: 7.033 MB / 0.6658 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.36, allocations: 0 / 0.6658 GB, free: 0.9023 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)