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.001439/0.001439, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001564/0.001564, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7353/0.7353, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.3 kB / 0.5679 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1262, allocations: 77.95 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00584/0.1321, allocations: 4.829 MB / 0.6488 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.1358, allocations: 2.455 MB / 0.6512 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.1362, allocations: 23.81 kB / 0.6512 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.1373, allocations: 397.9 kB / 0.6516 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009464/0.1383, allocations: 449.7 kB / 0.652 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.1391, allocations: 371.2 kB / 0.6524 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009203/0.14, allocations: 0.9212 MB / 0.6533 GB, free: 72 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.1405, allocations: 353.3 kB / 0.6536 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1409, allocations: 342.6 kB / 0.6539 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.1414, allocations: 346.5 kB / 0.6543 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.1415, allocations: 36 kB / 0.6543 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.1421, allocations: 411.1 kB / 0.6547 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.1423, allocations: 183.4 kB / 0.6549 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.1426, allocations: 318.2 kB / 0.6552 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009151/0.1436, allocations: 0.8729 MB / 0.656 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1436, allocations: 0 / 0.656 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1436, allocations: 4 kB / 0.656 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.1436, allocations: 0 / 0.656 GB, free: 13.23 MB / 0.4981 GB 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.001358/0.145, allocations: 0.9347 MB / 0.6569 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.145, allocations: 12.62 kB / 0.6569 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.014e-05/0.1451, allocations: 90.69 kB / 0.657 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.1464, allocations: 203.8 kB / 0.6572 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.1472, allocations: 0.5373 MB / 0.6577 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1472, allocations: 37.3 kB / 0.6578 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.1473, allocations: 40.38 kB / 0.6578 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000987/0.1483, allocations: 0.8524 MB / 0.6587 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.1483, allocations: 11.94 kB / 0.6587 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.1484, allocations: 23.98 kB / 0.6587 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.431e-05/0.1485, allocations: 60.95 kB / 0.6587 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.1493, allocations: 0.5734 MB / 0.6593 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.1532, allocations: 5.639 MB / 0.6648 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.1538, allocations: 450.3 kB / 0.6652 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.1541, allocations: 232.7 kB / 0.6655 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1541, allocations: 4 kB / 0.6655 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.1542, allocations: 34.5 kB / 0.6655 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.1542, allocations: 0 / 0.6655 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002331/0.1565, allocations: 1.504 MB / 0.667 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1565, allocations: 55.69 kB / 0.667 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.157, allocations: 0.495 MB / 0.6675 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.157, allocations: 33.69 kB / 0.6675 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.1572, allocations: 358.8 kB / 0.6679 GB, free: 288 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.1573, allocations: 114.4 kB / 0.668 GB, free: 172 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1574, allocations: 110.2 kB / 0.6681 GB, free: 56 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1576, allocations: 362.9 kB / 0.6684 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.1579, allocations: 201.1 kB / 0.6686 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.1583, allocations: 443.3 kB / 0.6691 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.159, allocations: 0.6954 MB / 0.6697 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.159, allocations: 3.938 kB / 0.6697 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001181/0.1602, allocations: 0.8054 MB / 0.6705 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1602, allocations: 11.94 kB / 0.6705 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1603, allocations: 8 kB / 0.6705 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.1608, allocations: 156.6 kB / 0.6707 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.1612, allocations: 119.8 kB / 0.6708 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.1642, allocations: 4.355 MB / 0.6751 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.1646, allocations: 35.97 kB / 0.6751 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.1647, allocations: 28 kB / 0.6751 GB, free: 8.164 MB / 0.5137 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.0002942/0.165, allocations: 211.5 kB / 0.6753 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.1651, allocations: 63.25 kB / 0.6754 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.1661, allocations: 0.597 MB / 0.676 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1662, allocations: 8 kB / 0.676 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1662, allocations: 0 / 0.676 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1662, allocations: 7.984 kB / 0.676 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.1679, allocations: 1.263 MB / 0.6772 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1679, allocations: 4 kB / 0.6772 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1682, allocations: 55.89 kB / 0.6773 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.1686, allocations: 144.4 kB / 0.6774 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1686, allocations: 11.94 kB / 0.6774 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.1714, allocations: 4.336 MB / 0.6817 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1715, allocations: 0 / 0.6817 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.1724, allocations: 0.7076 MB / 0.6823 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.1726, allocations: 168.3 kB / 0.6825 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.1727, allocations: 15.98 kB / 0.6825 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1729, allocations: 23.97 kB / 0.6825 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.173, allocations: 31.84 kB / 0.6826 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.173, allocations: 12 kB / 0.6826 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003147/0.1734, allocations: 330.8 kB / 0.6829 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1734, allocations: 3.938 kB / 0.6829 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006088/0.174, allocations: 144 kB / 0.683 GB, free: 15.42 MB / 0.5294 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.001137/0.1751, allocations: 1.242 MB / 0.6843 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.1765, allocations: 1.056 MB / 0.6853 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1765, allocations: 0 / 0.6853 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.1774, allocations: 0.7348 MB / 0.686 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.1784, allocations: 209.7 kB / 0.6862 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.1841, allocations: 5.1 MB / 0.6912 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.1845, allocations: 0.9137 MB / 0.6921 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.1849, allocations: 113.3 kB / 0.6922 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.1851, allocations: 195.4 kB / 0.6924 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.1851, allocations: 0 / 0.6924 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9223/1.107, allocations: 12.69 MB / 0.7048 GB, free: 8.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.39, allocations: 5.656 kB / 0.7048 GB, free: 8.766 MB / 0.545 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)