Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.001288/0.001288, allocations: 104.1 kB / 16.4 MB, free: 6.402 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.000913/0.0009131, allocations: 192.8 kB / 17.34 MB, free: 5.703 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6689/0.6689, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 62.8 kB / 0.5572 GB, free: 32.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1204, allocations: 76.17 MB / 0.6316 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005718/0.1261, allocations: 4.842 MB / 0.6363 GB, free: 184 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.1297, allocations: 2.456 MB / 0.6387 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.13, allocations: 23.81 kB / 0.6387 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.1311, allocations: 397.9 kB / 0.6391 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009047/0.132, allocations: 465.7 kB / 0.6396 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.1328, allocations: 377.2 kB / 0.6399 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008934/0.1337, allocations: 0.9173 MB / 0.6408 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.1342, allocations: 361.3 kB / 0.6412 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.1346, allocations: 342.7 kB / 0.6415 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.1351, allocations: 346.5 kB / 0.6418 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.1352, allocations: 40 kB / 0.6419 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.1357, allocations: 403.1 kB / 0.6422 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1359, allocations: 179.4 kB / 0.6424 GB, free: 9.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.1362, allocations: 318.3 kB / 0.6427 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.1371, allocations: 0.8807 MB / 0.6436 GB, free: 8.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1371, allocations: 0 / 0.6436 GB, free: 8.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1371, allocations: 0 / 0.6436 GB, free: 8.719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.1371, allocations: 0 / 0.6436 GB, free: 8.719 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001234/0.1383, allocations: 0.9424 MB / 0.6445 GB, free: 7.727 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1384, allocations: 8.031 kB / 0.6445 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.18e-05/0.1385, allocations: 94.69 kB / 0.6446 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.1396, allocations: 199.9 kB / 0.6448 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.1403, allocations: 0.5333 MB / 0.6453 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.1403, allocations: 33.36 kB / 0.6453 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.1404, allocations: 56.3 kB / 0.6454 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1414, allocations: 0.8523 MB / 0.6462 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1415, allocations: 3.938 kB / 0.6462 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.1415, allocations: 20 kB / 0.6462 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.377e-05/0.1416, allocations: 68.95 kB / 0.6463 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.1424, allocations: 0.5578 MB / 0.6469 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.1461, allocations: 5.654 MB / 0.6524 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.1467, allocations: 454.9 kB / 0.6528 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.147, allocations: 220.7 kB / 0.653 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1471, allocations: 4 kB / 0.653 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1471, allocations: 42.56 kB / 0.6531 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.382e-06/0.1471, allocations: 0 / 0.6531 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002396/0.1495, allocations: 1.505 MB / 0.6545 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1495, allocations: 55.69 kB / 0.6546 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.15, allocations: 495 kB / 0.6551 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.15, allocations: 29.7 kB / 0.6551 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1502, allocations: 354.8 kB / 0.6554 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.1503, allocations: 126.3 kB / 0.6555 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.1505, allocations: 114.2 kB / 0.6557 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1507, allocations: 366.8 kB / 0.656 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.1509, allocations: 193.2 kB / 0.6562 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.1513, allocations: 451.3 kB / 0.6566 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.1522, allocations: 0.6952 MB / 0.6573 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1522, allocations: 4 kB / 0.6573 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001127/0.1533, allocations: 0.7981 MB / 0.6581 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1533, allocations: 8.156 kB / 0.6581 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1534, allocations: 16 kB / 0.6581 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.1539, allocations: 160 kB / 0.6583 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.1543, allocations: 119.8 kB / 0.6584 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.1576, allocations: 4.344 MB / 0.6626 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.1579, allocations: 35.97 kB / 0.6626 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.158, allocations: 28 kB / 0.6627 GB, free: 3.652 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.1582, allocations: 217.5 kB / 0.6629 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.1584, allocations: 63.31 kB / 0.6629 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009848/0.1594, allocations: 0.5968 MB / 0.6635 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1594, allocations: 0 / 0.6635 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1594, allocations: 4 kB / 0.6635 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1594, allocations: 0 / 0.6635 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.1611, allocations: 1.267 MB / 0.6648 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1611, allocations: 0 / 0.6648 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.1613, allocations: 55.89 kB / 0.6648 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.1618, allocations: 140.4 kB / 0.6649 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.1618, allocations: 15.88 kB / 0.665 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.165, allocations: 4.337 MB / 0.6692 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.165, allocations: 8.156 kB / 0.6692 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.1658, allocations: 0.708 MB / 0.6699 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.166, allocations: 164.4 kB / 0.6701 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.1662, allocations: 8 kB / 0.6701 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.1664, allocations: 23.97 kB / 0.6701 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.1665, allocations: 39.83 kB / 0.6701 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1665, allocations: 8 kB / 0.6701 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000305/0.1668, allocations: 330.9 kB / 0.6704 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1669, allocations: 4 kB / 0.6705 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000537/0.1674, allocations: 136 kB / 0.6706 GB, free: 10.92 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.1686, allocations: 1.257 MB / 0.6718 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.1698, allocations: 1.036 MB / 0.6728 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.1699, allocations: 4 kB / 0.6728 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.1706, allocations: 0.7397 MB / 0.6735 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.1714, allocations: 207.6 kB / 0.6737 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/0.177, allocations: 5.098 MB / 0.6787 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.1775, allocations: 0.9019 MB / 0.6796 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.1778, allocations: 125.2 kB / 0.6797 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.178, allocations: 191.4 kB / 0.6799 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.178, allocations: 0 / 0.6799 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.2146, allocations: 12.69 MB / 0.6923 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.279/9.494, allocations: 13.83 kB / 0.6923 GB, free: 4.262 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)