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.0007066/0.0007066, allocations: 99.05 kB / 16.02 MB, free: 76 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.0007134/0.0007134, allocations: 179.8 kB / 16.92 MB, free: 6.918 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.232/1.232, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6524/0.6524, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002785, allocations: 9.719 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 77.54 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004493/0.1281, allocations: 3.92 MB / 0.5639 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.1314, allocations: 2.346 MB / 0.5662 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.1318, allocations: 15.88 kB / 0.5662 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.132, allocations: 67.42 kB / 0.5663 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008903/0.1329, allocations: 342.5 kB / 0.5666 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.1336, allocations: 298.6 kB / 0.5669 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008773/0.1345, allocations: 0.8621 MB / 0.5677 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/0.1353, allocations: 467 kB / 0.5682 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.1357, allocations: 222.9 kB / 0.5684 GB, free: 352 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.136, allocations: 258.9 kB / 0.5686 GB, free: 92 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.1361, allocations: 16 kB / 0.5686 GB, free: 76 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007844/0.1369, allocations: 0.5262 MB / 0.5691 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.137, allocations: 123.6 kB / 0.5693 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.1373, allocations: 248.4 kB / 0.5695 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.1381, allocations: 0.7513 MB / 0.5702 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1382, allocations: 0 / 0.5702 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1382, allocations: 3.938 kB / 0.5702 GB, free: 14.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.1382, allocations: 0 / 0.5702 GB, free: 14.42 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.0009764/0.1392, allocations: 0.6993 MB / 0.5709 GB, free: 13.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1392, allocations: 8.031 kB / 0.5709 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.1393, allocations: 82.64 kB / 0.571 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.1407, allocations: 192.1 kB / 0.5712 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.1412, allocations: 412.4 kB / 0.5716 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1412, allocations: 25.36 kB / 0.5716 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.1413, allocations: 32.36 kB / 0.5716 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.1421, allocations: 0.6508 MB / 0.5723 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1421, allocations: 4 kB / 0.5723 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.1422, allocations: 23.97 kB / 0.5723 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.1423, allocations: 47.97 kB / 0.5723 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.143, allocations: 0.493 MB / 0.5728 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.146, allocations: 3.79 MB / 0.5765 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.1476, allocations: 0.6328 MB / 0.5771 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1479, allocations: 178.5 kB / 0.5773 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1479, allocations: 7.938 kB / 0.5773 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.148, allocations: 38.56 kB / 0.5774 GB, free: 6.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.148, allocations: 0 / 0.5774 GB, free: 6.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002054/0.15, allocations: 1.274 MB / 0.5786 GB, free: 5.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.1501, allocations: 118.8 kB / 0.5787 GB, free: 5.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.1505, allocations: 405.7 kB / 0.5791 GB, free: 4.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1506, allocations: 29.7 kB / 0.5791 GB, free: 4.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1507, allocations: 283.5 kB / 0.5794 GB, free: 4.418 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.1508, allocations: 114.3 kB / 0.5795 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.1509, allocations: 45.69 kB / 0.5796 GB, free: 4.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.151, allocations: 350.8 kB / 0.5799 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1513, allocations: 177 kB / 0.5801 GB, free: 3.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.1517, allocations: 379.2 kB / 0.5804 GB, free: 3.273 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.1524, allocations: 0.5903 MB / 0.581 GB, free: 2.594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1524, allocations: 4 kB / 0.581 GB, free: 2.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001001/0.1534, allocations: 0.6681 MB / 0.5817 GB, free: 1.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1534, allocations: 11.94 kB / 0.5817 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1534, allocations: 4 kB / 0.5817 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.1537, allocations: 106.9 kB / 0.5818 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1541, allocations: 111.8 kB / 0.5819 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2507/0.4048, allocations: 4.025 MB / 0.5858 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.4053, allocations: 30.2 kB / 0.5858 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.4054, allocations: 25 kB / 0.5859 GB, free: 27.77 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.0002498/0.4056, allocations: 198.2 kB / 0.586 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4057, allocations: 48.75 kB / 0.5861 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/0.4067, allocations: 0.5179 MB / 0.5866 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4067, allocations: 4.844 kB / 0.5866 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4067, allocations: 1.062 kB / 0.5866 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4067, allocations: 4.109 kB / 0.5866 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.4084, allocations: 1.291 MB / 0.5879 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.4084, allocations: 5.531 kB / 0.5879 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.4087, allocations: 63.81 kB / 0.5879 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.409, allocations: 86.58 kB / 0.588 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.409, allocations: 9.312 kB / 0.588 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.4113, allocations: 4.031 MB / 0.592 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4113, allocations: 3.906 kB / 0.592 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.4122, allocations: 0.7775 MB / 0.5927 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.4124, allocations: 162 kB / 0.5929 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.4125, allocations: 17.11 kB / 0.5929 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.4128, allocations: 20.42 kB / 0.5929 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.4128, allocations: 35.52 kB / 0.593 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.4129, allocations: 13.78 kB / 0.593 GB, free: 22.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.4132, allocations: 276.8 kB / 0.5932 GB, free: 22.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4132, allocations: 0 / 0.5932 GB, free: 22.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006727/0.4139, allocations: 123.7 kB / 0.5933 GB, free: 22.64 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.001054/0.4149, allocations: 1.335 MB / 0.5947 GB, free: 21.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.4162, allocations: 0.7977 MB / 0.5954 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4162, allocations: 0 / 0.5954 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006377/0.4168, allocations: 0.5496 MB / 0.596 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.4178, allocations: 121.5 kB / 0.5961 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.4233, allocations: 4.772 MB / 0.6007 GB, free: 17.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.4237, allocations: 0.8586 MB / 0.6016 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.4241, allocations: 104 kB / 0.6017 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.4243, allocations: 153.5 kB / 0.6018 GB, free: 16.56 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4243, allocations: 0 / 0.6018 GB, free: 16.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5095/0.9337, allocations: 9.391 MB / 0.611 GB, free: 14.74 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.934, allocations: 229.9 kB / 0.6112 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.652, allocations: 0 / 0.6112 GB, free: 14.48 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)