Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.00074/0.0007401, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004978/0.004978, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002288/0.002288, allocations: 266.9 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004327, allocations: 15.75 kB / 0.5988 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1834, allocations: 88.55 MB / 0.6852 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0347/0.2181, allocations: 33.69 MB / 0.7181 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01752/0.2357, allocations: 11.39 MB / 0.7293 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.2386, allocations: 135.2 kB / 0.7294 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.2405, allocations: 0.6938 MB / 0.7301 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.2459, allocations: 1.867 MB / 0.7319 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005652/0.2515, allocations: 1.993 MB / 0.7338 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.2647, allocations: 12.41 MB / 0.746 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02205/0.2868, allocations: 14.35 MB / 0.76 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3938/0.6806, allocations: 2.606 MB / 0.7625 GB, free: 23.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008041/0.6887, allocations: 3.564 MB / 0.766 GB, free: 23.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.6903, allocations: 328.1 kB / 0.7663 GB, free: 23.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.6954, allocations: 1.904 MB / 0.7682 GB, free: 23.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00382/0.6993, allocations: 2.462 MB / 0.7706 GB, free: 22.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004493/0.7038, allocations: 2.737 MB / 0.7733 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.7182, allocations: 11.44 MB / 0.7844 GB, free: 21.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.7183, allocations: 1.25 kB / 0.7844 GB, free: 21.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7183, allocations: 0 / 0.7844 GB, free: 21.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000349/0.7186, allocations: 0 / 0.7844 GB, free: 21.04 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01138/0.73, allocations: 4.653 MB / 0.789 GB, free: 18.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.7301, allocations: 9.25 kB / 0.789 GB, free: 18.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002707/0.7328, allocations: 0.8029 MB / 0.7898 GB, free: 18.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007512/0.7403, allocations: 1.064 MB / 0.7908 GB, free: 17.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007511/0.7478, allocations: 3.254 MB / 0.794 GB, free: 16.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/0.7483, allocations: 414.5 kB / 0.7944 GB, free: 16.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.75, allocations: 0.542 MB / 0.7949 GB, free: 16.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.7653, allocations: 9.079 MB / 0.8038 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.7655, allocations: 31.09 kB / 0.8038 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005225/0.766, allocations: 233.3 kB / 0.804 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000282/0.7663, allocations: 350.8 kB / 0.8044 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00981/0.7761, allocations: 6.827 MB / 0.811 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03504/0.8111, allocations: 40.2 MB / 0.8503 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003493/0.8147, allocations: 3.105 MB / 0.8533 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/0.8171, allocations: 1.947 MB / 0.8552 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.661e-05/0.8172, allocations: 18 kB / 0.8552 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.8173, allocations: 55.17 kB / 0.8553 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.577e-06/0.8173, allocations: 8 kB / 0.8553 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.02372/0.841, allocations: 10.03 MB / 0.8651 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8411, allocations: 78.28 kB / 0.8652 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.8431, allocations: 1.53 MB / 0.8666 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.8432, allocations: 57.7 kB / 0.8667 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.8445, allocations: 2.254 MB / 0.8689 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004978/0.845, allocations: 0.6319 MB / 0.8695 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.8452, allocations: 174.2 kB / 0.8697 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.8453, allocations: 309 kB / 0.87 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.8469, allocations: 1.179 MB / 0.8711 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.8489, allocations: 1.885 MB / 0.873 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.8528, allocations: 3.368 MB / 0.8763 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.8528, allocations: 4 kB / 0.8763 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007664/0.8605, allocations: 4.581 MB / 0.8807 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.8606, allocations: 16 kB / 0.8808 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/0.8606, allocations: 24.91 kB / 0.8808 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/0.8643, allocations: 1.581 MB / 0.8823 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.8656, allocations: 356.5 kB / 0.8827 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/0.8874, allocations: 17.06 MB / 0.8993 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.8893, allocations: 119.9 kB / 0.8994 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.8897, allocations: 92 kB / 0.8995 GB, free: 7.062 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003727/0.8934, allocations: 1.903 MB / 0.9014 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.894, allocations: 225.3 kB / 0.9016 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007187/0.9012, allocations: 4.09 MB / 0.9056 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.9012, allocations: 20 kB / 0.9056 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/0.9013, allocations: 16 kB / 0.9056 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.9013, allocations: 7.969 kB / 0.9056 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.9174, allocations: 9.466 MB / 0.9149 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.9175, allocations: 4.25 kB / 0.9149 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.9184, allocations: 179.5 kB / 0.9151 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/0.9218, allocations: 1.365 MB / 0.9164 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.9219, allocations: 32 kB / 0.9164 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/0.9422, allocations: 15.98 MB / 0.932 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.9422, allocations: 6.625 kB / 0.932 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.9494, allocations: 4.083 MB / 0.936 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.9506, allocations: 0.5257 MB / 0.9365 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005417/0.9512, allocations: 39.98 kB / 0.9366 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.9525, allocations: 91.22 kB / 0.9367 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005039/0.953, allocations: 167 kB / 0.9368 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.9532, allocations: 51.98 kB / 0.9369 GB, free: 228 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001799/0.955, allocations: 1.001 MB / 0.9378 GB, free: 15.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/0.955, allocations: 4 kB / 0.9378 GB, free: 15.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003648/0.9586, allocations: 0.9844 MB / 0.9388 GB, free: 14.21 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007022/0.9657, allocations: 4.667 MB / 0.9434 GB, free: 9.516 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006975/0.9727, allocations: 4.283 MB / 0.9475 GB, free: 5.254 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/0.9727, allocations: 0 / 0.9475 GB, free: 5.254 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00438/0.9771, allocations: 2.675 MB / 0.9502 GB, free: 2.559 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005404/0.9825, allocations: 0.7211 MB / 0.9509 GB, free: 1.848 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05148/1.034, allocations: 30.92 MB / 0.9811 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006386/1.04, allocations: 3.578 MB / 0.9846 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001801/1.042, allocations: 463.9 kB / 0.985 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002616/1.045, allocations: 1.78 MB / 0.9867 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/1.045, allocations: 0 / 0.9867 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4575/1.502, allocations: 69.91 MB / 1.055 GB, free: 267.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/1.503, allocations: 258 kB / 1.055 GB, free: 267.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/4.347, allocations: 4.25 kB / 1.055 GB, free: 267.4 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)