Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.004209/0.004209, allocations: 101.4 kB / 15.88 MB, free: 6.312 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.001116/0.001116, allocations: 194.7 kB / 16.79 MB, free: 6.242 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.193/1.193, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6189/0.6189, allocations: 115.3 MB / 405.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 64.44 kB / 493 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 76.18 MB / 0.5558 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004901/0.1277, allocations: 4.305 MB / 0.5601 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.1308, allocations: 2.377 MB / 0.5624 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.131, allocations: 15.88 kB / 0.5624 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008676/0.1319, allocations: 346.6 kB / 0.5627 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006388/0.1325, allocations: 346.5 kB / 0.5631 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.1331, allocations: 299.2 kB / 0.5633 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.1339, allocations: 0.866 MB / 0.5642 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.1343, allocations: 262.1 kB / 0.5644 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.1345, allocations: 227 kB / 0.5646 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.1348, allocations: 278.9 kB / 0.5649 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.1349, allocations: 20 kB / 0.5649 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.1356, allocations: 0.5301 MB / 0.5655 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1357, allocations: 131.5 kB / 0.5656 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.1359, allocations: 222.8 kB / 0.5658 GB, free: 484 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007246/0.1366, allocations: 0.7475 MB / 0.5665 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1367, allocations: 7.984 kB / 0.5665 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1367, allocations: 0 / 0.5665 GB, free: 15.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1367, allocations: 0 / 0.5665 GB, free: 15.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009537/0.1376, allocations: 0.7871 MB / 0.5673 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1377, allocations: 8.031 kB / 0.5673 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.1378, allocations: 78.7 kB / 0.5674 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.139, allocations: 180.1 kB / 0.5676 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.1394, allocations: 404.5 kB / 0.5679 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1394, allocations: 25.36 kB / 0.568 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.1395, allocations: 48.3 kB / 0.568 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.1402, allocations: 0.643 MB / 0.5686 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1403, allocations: 7.938 kB / 0.5686 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.1403, allocations: 15.98 kB / 0.5687 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/0.1404, allocations: 55.95 kB / 0.5687 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.141, allocations: 0.4891 MB / 0.5692 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.1437, allocations: 3.79 MB / 0.5729 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.1451, allocations: 0.6289 MB / 0.5735 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.1454, allocations: 178.5 kB / 0.5737 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1454, allocations: 8 kB / 0.5737 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1454, allocations: 42.48 kB / 0.5737 GB, free: 7.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.1454, allocations: 0 / 0.5737 GB, free: 7.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.001909/0.1473, allocations: 1.281 MB / 0.575 GB, free: 6.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1474, allocations: 106.8 kB / 0.5751 GB, free: 6.371 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.1477, allocations: 409.6 kB / 0.5755 GB, free: 5.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1478, allocations: 29.7 kB / 0.5755 GB, free: 5.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1479, allocations: 275.5 kB / 0.5758 GB, free: 5.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.148, allocations: 118.3 kB / 0.5759 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1481, allocations: 102.2 kB / 0.576 GB, free: 5.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1482, allocations: 354.8 kB / 0.5763 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.1485, allocations: 173 kB / 0.5765 GB, free: 4.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.1488, allocations: 375.2 kB / 0.5768 GB, free: 4.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.1494, allocations: 0.5912 MB / 0.5774 GB, free: 3.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1494, allocations: 4 kB / 0.5774 GB, free: 3.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009229/0.1503, allocations: 0.6707 MB / 0.5781 GB, free: 3.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1504, allocations: 8 kB / 0.5781 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1504, allocations: 12.06 kB / 0.5781 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.1507, allocations: 102.4 kB / 0.5782 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.151, allocations: 113.2 kB / 0.5783 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2035/0.3545, allocations: 4.029 MB / 0.5822 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.355, allocations: 29.31 kB / 0.5823 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.3551, allocations: 23.91 kB / 0.5823 GB, free: 29.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002224/0.3553, allocations: 207.7 kB / 0.5825 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3554, allocations: 47.06 kB / 0.5825 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008372/0.3562, allocations: 0.5133 MB / 0.583 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3563, allocations: 4.438 kB / 0.583 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3563, allocations: 1.312 kB / 0.583 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3563, allocations: 7.469 kB / 0.583 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.3579, allocations: 1.283 MB / 0.5843 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3579, allocations: 2.844 kB / 0.5843 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.3581, allocations: 63.66 kB / 0.5843 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/0.3584, allocations: 92.69 kB / 0.5844 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3584, allocations: 18.06 kB / 0.5845 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.3605, allocations: 4.027 MB / 0.5884 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3605, allocations: 3.922 kB / 0.5884 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.3613, allocations: 0.7755 MB / 0.5891 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3614, allocations: 151.2 kB / 0.5893 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.3615, allocations: 13.39 kB / 0.5893 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.3618, allocations: 26.84 kB / 0.5893 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.3619, allocations: 35.11 kB / 0.5894 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3619, allocations: 12.31 kB / 0.5894 GB, free: 24.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.3622, allocations: 280.5 kB / 0.5896 GB, free: 24.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3622, allocations: 0 / 0.5896 GB, free: 24.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006244/0.3628, allocations: 123.5 kB / 0.5898 GB, free: 24.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0009272/0.3638, allocations: 1.335 MB / 0.5911 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3648, allocations: 0.8016 MB / 0.5918 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3648, allocations: 0.8125 kB / 0.5918 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.3654, allocations: 0.5436 MB / 0.5924 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.3662, allocations: 128.6 kB / 0.5925 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.3711, allocations: 4.744 MB / 0.5971 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3714, allocations: 0.8657 MB / 0.598 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000309/0.3717, allocations: 104.2 kB / 0.5981 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3719, allocations: 153.6 kB / 0.5982 GB, free: 18.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3719, allocations: 0 / 0.5982 GB, free: 18.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6016/0.9735, allocations: 9.536 MB / 0.6075 GB, free: 16.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.9737, allocations: 230.8 kB / 0.6078 GB, free: 16.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.744, allocations: 4 kB / 0.6078 GB, free: 16.15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)