Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001655/0.001655, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001569/0.001569, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.268/1.268, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3052, allocations: 77.92 MB / 0.5673 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006776/0.3121, allocations: 6.781 MB / 0.5739 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.3163, allocations: 3.061 MB / 0.5769 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.3167, allocations: 28.09 kB / 0.5769 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.3188, allocations: 0.9523 MB / 0.5779 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009884/0.3198, allocations: 0.5011 MB / 0.5784 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/0.3208, allocations: 454.5 kB / 0.5788 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.3218, allocations: 1.229 MB / 0.58 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.3226, allocations: 0.6574 MB / 0.5806 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.3231, allocations: 468.9 kB / 0.5811 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.3237, allocations: 0.5244 MB / 0.5816 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.886e-05/0.3238, allocations: 68.47 kB / 0.5817 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.3244, allocations: 381.2 kB / 0.582 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.3246, allocations: 304 kB / 0.5823 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.325, allocations: 452.9 kB / 0.5827 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.3259, allocations: 1.203 MB / 0.5839 GB, free: 22.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3259, allocations: 0 / 0.5839 GB, free: 22.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3259, allocations: 2.156 kB / 0.5839 GB, free: 22.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3259, allocations: 0 / 0.5839 GB, free: 22.02 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001415/0.3274, allocations: 1.171 MB / 0.5851 GB, free: 21.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.3274, allocations: 11.19 kB / 0.5851 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.903e-05/0.3275, allocations: 121.1 kB / 0.5852 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.3289, allocations: 241.9 kB / 0.5854 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.3295, allocations: 0.5538 MB / 0.586 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3295, allocations: 57.3 kB / 0.586 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.3296, allocations: 62.08 kB / 0.5861 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3308, allocations: 1.085 MB / 0.5871 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.3308, allocations: 6.312 kB / 0.5871 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.3309, allocations: 37.61 kB / 0.5872 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.331, allocations: 87.56 kB / 0.5873 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/0.332, allocations: 0.75 MB / 0.588 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.3356, allocations: 5.895 MB / 0.5937 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.3364, allocations: 0.5607 MB / 0.5943 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.3368, allocations: 324.5 kB / 0.5946 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.3368, allocations: 8.844 kB / 0.5946 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.3368, allocations: 38.25 kB / 0.5946 GB, free: 13.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 1.523e-06/0.3368, allocations: 0 / 0.5946 GB, free: 13.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003251/0.3401, allocations: 1.99 MB / 0.5966 GB, free: 11.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.3401, allocations: 61.41 kB / 0.5966 GB, free: 11.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.3406, allocations: 0.5618 MB / 0.5972 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3406, allocations: 29.7 kB / 0.5972 GB, free: 11.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3408, allocations: 422.9 kB / 0.5976 GB, free: 10.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.3408, allocations: 173.5 kB / 0.5978 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.341, allocations: 126.6 kB / 0.5979 GB, free: 10.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.3411, allocations: 370.7 kB / 0.5983 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.3414, allocations: 281.8 kB / 0.5985 GB, free: 10.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.3417, allocations: 493 kB / 0.599 GB, free: 9.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/0.3425, allocations: 0.8093 MB / 0.5998 GB, free: 8.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3425, allocations: 4 kB / 0.5998 GB, free: 8.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001361/0.3438, allocations: 1.091 MB / 0.6009 GB, free: 7.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3439, allocations: 8 kB / 0.6009 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3439, allocations: 4 kB / 0.6009 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/0.3446, allocations: 283.6 kB / 0.6011 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.345, allocations: 123.8 kB / 0.6013 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.3494, allocations: 7.139 MB / 0.6082 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.35, allocations: 43.89 kB / 0.6083 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.35, allocations: 32 kB / 0.6083 GB, free: 15.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.3504, allocations: 253.6 kB / 0.6086 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3505, allocations: 71.16 kB / 0.6086 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.3519, allocations: 0.8925 MB / 0.6095 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3519, allocations: 4 kB / 0.6095 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3519, allocations: 4 kB / 0.6095 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.352, allocations: 3.984 kB / 0.6095 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.3543, allocations: 1.72 MB / 0.6112 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3543, allocations: 7.938 kB / 0.6112 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.3546, allocations: 59.88 kB / 0.6112 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000697/0.3553, allocations: 271.4 kB / 0.6115 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.3553, allocations: 12 kB / 0.6115 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005699/0.361, allocations: 7.122 MB / 0.6185 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3611, allocations: 11.95 kB / 0.6185 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.3625, allocations: 0.9877 MB / 0.6195 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.3628, allocations: 188.2 kB / 0.6196 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.3629, allocations: 15.94 kB / 0.6196 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.3632, allocations: 27.95 kB / 0.6197 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.3633, allocations: 47.89 kB / 0.6197 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.3634, allocations: 16 kB / 0.6197 GB, free: 2.758 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003831/0.3638, allocations: 387.1 kB / 0.6201 GB, free: 2.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3638, allocations: 0 / 0.6201 GB, free: 2.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007568/0.3645, allocations: 228 kB / 0.6203 GB, free: 2.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/0.3662, allocations: 1.545 MB / 0.6218 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.3681, allocations: 1.338 MB / 0.6231 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3681, allocations: 0 / 0.6231 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3692, allocations: 0.8854 MB / 0.624 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.3702, allocations: 221.5 kB / 0.6242 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007874/0.3781, allocations: 6.576 MB / 0.6306 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.3786, allocations: 1.013 MB / 0.6316 GB, free: 6.074 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003965/0.379, allocations: 118 kB / 0.6317 GB, free: 5.957 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.3793, allocations: 251.4 kB / 0.632 GB, free: 5.711 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3793, allocations: 0 / 0.632 GB, free: 5.711 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.4234, allocations: 17.23 MB / 0.6488 GB, free: 4.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 12.38 kB / 0.6488 GB, free: 4.801 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)