Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001222/0.001222, allocations: 104.2 kB / 16.4 MB, free: 6.5 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.001179/0.001179, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7159/0.7159, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 65.86 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03452/0.1674, allocations: 30.74 MB / 0.6616 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.1901, allocations: 13.6 MB / 0.6749 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003864/0.194, allocations: 143.2 kB / 0.675 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009067/0.2031, allocations: 3.198 MB / 0.6782 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00813/0.2113, allocations: 2.663 MB / 0.6808 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005896/0.2172, allocations: 2.011 MB / 0.6827 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.2274, allocations: 7.624 MB / 0.6902 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.2391, allocations: 8.217 MB / 0.6982 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.245, allocations: 3.474 MB / 0.7016 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.2505, allocations: 3.383 MB / 0.7049 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.2525, allocations: 0.5938 MB / 0.7055 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.2564, allocations: 1.498 MB / 0.7069 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003687/0.2602, allocations: 2.358 MB / 0.7092 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005814/0.266, allocations: 2.89 MB / 0.7121 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.2809, allocations: 9.461 MB / 0.7213 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2809, allocations: 0 / 0.7213 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2809, allocations: 4 kB / 0.7213 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003889/0.2813, allocations: 0 / 0.7213 GB, free: 8.656 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01533/0.2967, allocations: 5.132 MB / 0.7263 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2967, allocations: 8.031 kB / 0.7263 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001936/0.2987, allocations: 0.6242 MB / 0.7269 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/0.3054, allocations: 0.9941 MB / 0.7279 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008123/0.3135, allocations: 3.083 MB / 0.7309 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.3139, allocations: 312.8 kB / 0.7312 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/0.3159, allocations: 423.8 kB / 0.7316 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.332, allocations: 6.792 MB / 0.7383 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002201/0.3323, allocations: 19.78 kB / 0.7383 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.3336, allocations: 184 kB / 0.7384 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009646/0.3345, allocations: 376 kB / 0.7388 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.3461, allocations: 5.114 MB / 0.7438 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3228/0.6689, allocations: 30.51 MB / 0.7736 GB, free: 75.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.671, allocations: 1.388 MB / 0.775 GB, free: 74.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.6728, allocations: 1.328 MB / 0.7762 GB, free: 73.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.6729, allocations: 13.75 kB / 0.7763 GB, free: 73.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.673, allocations: 54.69 kB / 0.7763 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 3.246e-06/0.673, allocations: 0.7188 kB / 0.7763 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.0832/0.7562, allocations: 23.09 MB / 0.7989 GB, free: 59.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.7563, allocations: 69.41 kB / 0.7989 GB, free: 59.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.7586, allocations: 2.062 MB / 0.8009 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/0.759, allocations: 61.7 kB / 0.801 GB, free: 57.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007857/0.7598, allocations: 2.005 MB / 0.803 GB, free: 55.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/0.7603, allocations: 0.6807 MB / 0.8036 GB, free: 54.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006322/0.761, allocations: 408.1 kB / 0.804 GB, free: 54.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.761, allocations: 309.1 kB / 0.8043 GB, free: 54.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.7626, allocations: 1.433 MB / 0.8057 GB, free: 52.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.7645, allocations: 2.013 MB / 0.8077 GB, free: 50.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/0.7683, allocations: 3.696 MB / 0.8113 GB, free: 46.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.7683, allocations: 4 kB / 0.8113 GB, free: 46.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009431/0.7777, allocations: 5.657 MB / 0.8168 GB, free: 40.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.7778, allocations: 15.94 kB / 0.8168 GB, free: 40.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.7778, allocations: 16.94 kB / 0.8168 GB, free: 40.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006004/0.7838, allocations: 2.085 MB / 0.8189 GB, free: 38.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.7853, allocations: 379.4 kB / 0.8192 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/0.8151, allocations: 38.43 MB / 0.8568 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.8177, allocations: 127.9 kB / 0.8569 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.818, allocations: 88 kB / 0.857 GB, free: 13.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002436/0.8204, allocations: 1.519 MB / 0.8585 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006047/0.821, allocations: 288.7 kB / 0.8587 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.831, allocations: 5.215 MB / 0.8638 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.8311, allocations: 20 kB / 0.8638 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.062e-05/0.8312, allocations: 16 kB / 0.8639 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.459e-05/0.8312, allocations: 11.95 kB / 0.8639 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.8498, allocations: 9.684 MB / 0.8733 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/0.8499, allocations: 8 kB / 0.8733 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/0.8509, allocations: 211.6 kB / 0.8735 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005943/0.8568, allocations: 1.837 MB / 0.8753 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/0.8572, allocations: 39.98 kB / 0.8754 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03605/0.8932, allocations: 37.44 MB / 0.9119 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.8933, allocations: 15.88 kB / 0.912 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008928/0.9022, allocations: 4.912 MB / 0.9167 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/0.9042, allocations: 0.6186 MB / 0.9174 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/0.9048, allocations: 40 kB / 0.9174 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.9065, allocations: 127.8 kB / 0.9175 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/0.9072, allocations: 197.5 kB / 0.9177 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/0.9073, allocations: 56 kB / 0.9178 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002149/0.9095, allocations: 1.378 MB / 0.9191 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9095, allocations: 0 / 0.9191 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004102/0.9136, allocations: 1.043 MB / 0.9201 GB, free: 9.625 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009865/0.9235, allocations: 5.535 MB / 0.9255 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.934, allocations: 6.295 MB / 0.9317 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.934, allocations: 4.25 kB / 0.9317 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007238/0.9413, allocations: 4.397 MB / 0.936 GB, free: 8.793 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005148/0.9465, allocations: 0.9864 MB / 0.9369 GB, free: 7.852 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0565/1.003, allocations: 30.65 MB / 0.9669 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004489/1.008, allocations: 3.123 MB / 0.9699 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002031/1.01, allocations: 0.5237 MB / 0.9704 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/1.012, allocations: 1.667 MB / 0.9721 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/1.012, allocations: 0 / 0.9721 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4641/1.476, allocations: 89.49 MB / 1.059 GB, free: 241.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.11, allocations: 5.266 kB / 1.059 GB, free: 241.7 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)