Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.005196/0.005196, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001178/0.001178, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.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.002264/0.002264, allocations: 282.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9672/0.9672, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 95.84 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1511, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3838/0.535, allocations: 41.17 MB / 0.8061 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02892/0.564, allocations: 15.09 MB / 0.8209 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006384/0.5704, allocations: 188 kB / 0.821 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01296/0.5834, allocations: 4.467 MB / 0.8254 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009393/0.5928, allocations: 2.928 MB / 0.8283 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009421/0.6023, allocations: 3.157 MB / 0.8313 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01804/0.6204, allocations: 11.43 MB / 0.8425 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02131/0.6417, allocations: 12.47 MB / 0.8547 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008541/0.6503, allocations: 4.904 MB / 0.8595 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008971/0.6593, allocations: 5.39 MB / 0.8647 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003174/0.6625, allocations: 0.9492 MB / 0.8657 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00719/0.6698, allocations: 2.04 MB / 0.8676 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005967/0.6758, allocations: 3.695 MB / 0.8713 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008509/0.6843, allocations: 4.299 MB / 0.8755 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.7004, allocations: 14.28 MB / 0.8894 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.7004, allocations: 0 / 0.8894 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7005, allocations: 0 / 0.8894 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003783/0.7008, allocations: 0 / 0.8894 GB, free: 5.523 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02001/0.7209, allocations: 7.604 MB / 0.8968 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.7209, allocations: 16.03 kB / 0.8968 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00197/0.7229, allocations: 0.8916 MB / 0.8977 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.7336, allocations: 1.522 MB / 0.8992 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00961/0.7432, allocations: 4.435 MB / 0.9035 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/0.7438, allocations: 460.5 kB / 0.904 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002465/0.7463, allocations: 0.5977 MB / 0.9046 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.7671, allocations: 10.68 MB / 0.915 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/0.7674, allocations: 39.61 kB / 0.915 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/0.7688, allocations: 263.9 kB / 0.9153 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002552/0.7714, allocations: 0.7768 MB / 0.916 GB, free: 9.688 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.7877, allocations: 8.557 MB / 0.9244 GB, free: 1.109 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05833/0.8461, allocations: 46.53 MB / 0.9698 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006247/0.8524, allocations: 4.315 MB / 0.974 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005983/0.8584, allocations: 3.716 MB / 0.9777 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004691/0.8589, allocations: 38.77 kB / 0.9777 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.809e-05/0.859, allocations: 73.34 kB / 0.9778 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 8.446e-06/0.859, allocations: 0 / 0.9778 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.8691/1.728, allocations: 122.8 MB / 1.098 GB, free: 267.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/1.728, allocations: 118.1 kB / 1.098 GB, free: 267.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/1.733, allocations: 2.678 MB / 1.1 GB, free: 266.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001299/1.735, allocations: 120.1 kB / 1.101 GB, free: 266.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.737, allocations: 2.677 MB / 1.103 GB, free: 265.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003082/1.74, allocations: 1.955 MB / 1.105 GB, free: 263.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004266/1.744, allocations: 0.924 MB / 1.106 GB, free: 263.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.584e-05/1.744, allocations: 305 kB / 1.106 GB, free: 262.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009419/1.754, allocations: 4.079 MB / 1.11 GB, free: 261.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/1.765, allocations: 5.01 MB / 1.115 GB, free: 258.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02304/1.788, allocations: 9.85 MB / 1.125 GB, free: 253.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.076e-05/1.788, allocations: 10.28 kB / 1.125 GB, free: 253.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05566/1.844, allocations: 16.99 MB / 1.141 GB, free: 246.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/1.844, allocations: 13.91 kB / 1.141 GB, free: 246.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.606e-05/1.844, allocations: 23.97 kB / 1.141 GB, free: 246.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04215/1.886, allocations: 9.089 MB / 1.15 GB, free: 244.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/1.89, allocations: 0.5212 MB / 1.151 GB, free: 244.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09523/1.985, allocations: 76.95 MB / 1.226 GB, free: 176.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004839/1.99, allocations: 283.8 kB / 1.226 GB, free: 176.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009943/1.991, allocations: 192 kB / 1.226 GB, free: 176 MB / 0.8419 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003829/1.995, allocations: 2.427 MB / 1.229 GB, free: 173.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.996, allocations: 470.5 kB / 1.229 GB, free: 173.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03371/2.03, allocations: 16.82 MB / 1.246 GB, free: 156.1 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-05/2.03, allocations: 63.83 kB / 1.246 GB, free: 156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001759/2.03, allocations: 76 kB / 1.246 GB, free: 156 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.995e-05/2.03, allocations: 24.78 kB / 1.246 GB, free: 155.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04777/2.078, allocations: 25.66 MB / 1.271 GB, free: 130.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/2.078, allocations: 8 kB / 1.271 GB, free: 130.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/2.08, allocations: 319.5 kB / 1.271 GB, free: 129.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02631/2.106, allocations: 8.269 MB / 1.279 GB, free: 121.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/2.107, allocations: 112 kB / 1.279 GB, free: 121.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08276/2.19, allocations: 73.83 MB / 1.351 GB, free: 45.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/2.19, allocations: 11.94 kB / 1.351 GB, free: 45.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03773/2.228, allocations: 21.56 MB / 1.372 GB, free: 24.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/2.231, allocations: 1.354 MB / 1.374 GB, free: 22.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/2.232, allocations: 108 kB / 1.374 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/2.235, allocations: 283.6 kB / 1.374 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001714/2.237, allocations: 0.526 MB / 1.375 GB, free: 21.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004211/2.237, allocations: 159.9 kB / 1.375 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002118/2.239, allocations: 1.772 MB / 1.377 GB, free: 19.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/2.239, allocations: 0 / 1.377 GB, free: 19.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006447/2.246, allocations: 2.465 MB / 1.379 GB, free: 17.38 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03978/2.286, allocations: 22.28 MB / 1.401 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02738/2.313, allocations: 14.53 MB / 1.415 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/2.313, allocations: 8.062 kB / 1.415 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01875/2.332, allocations: 9.352 MB / 1.424 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006911/2.339, allocations: 1.374 MB / 1.425 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6003/2.939, allocations: 70.17 MB / 1.494 GB, free: 254.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006654/2.946, allocations: 4.897 MB / 1.499 GB, free: 252.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002683/2.949, allocations: 0.7416 MB / 1.499 GB, free: 252.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/2.951, allocations: 2.609 MB / 1.502 GB, free: 250.4 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/2.951, allocations: 0 / 1.502 GB, free: 250.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2947/3.246, allocations: 196.5 MB / 1.694 GB, free: 64.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.55/23.8, allocations: 12.17 kB / 1.694 GB, free: 64.64 MB / 0.8731 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)