Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.643/1.643, allocations: 287.4 MB / 302.5 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 181.3 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 0.6298 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008789/0.0008788, allocations: 82.42 kB / 0.7431 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003811, allocations: 12.89 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 115.3 MB / 0.9787 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00842/0.2225, allocations: 9.063 MB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.2274, allocations: 3.055 MB / 0.9906 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.2285, allocations: 31.81 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.2292, allocations: 178.7 kB / 0.9908 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.2309, allocations: 0.63 MB / 0.9914 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2323, allocations: 0.5122 MB / 0.9919 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003043/0.2354, allocations: 3.514 MB / 0.9953 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004026/0.2394, allocations: 3.113 MB / 0.9984 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.2415, allocations: 0.9653 MB / 0.9993 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.2442, allocations: 1.43 MB / 1.001 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006202/0.2448, allocations: 112 kB / 1.001 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.2465, allocations: 259.7 kB / 1.001 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.2481, allocations: 0.9198 MB / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009755/0.2491, allocations: 376.8 kB / 1.002 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.2527, allocations: 3.008 MB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.2527, allocations: 4 kB / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.514e-06/0.2527, allocations: 0 / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001664/0.2529, allocations: 0 / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005212/0.2581, allocations: 1.764 MB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.2582, allocations: 8.031 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009809/0.2592, allocations: 257.2 kB / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008874/0.268, allocations: 1.321 MB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.2713, allocations: 1.255 MB / 1.01 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.2714, allocations: 111.4 kB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007492/0.2722, allocations: 148.3 kB / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007802/0.28, allocations: 3.429 MB / 1.013 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.799e-05/0.2801, allocations: 0 / 1.013 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006032/0.2807, allocations: 71.91 kB / 1.013 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003737/0.2811, allocations: 203.1 kB / 1.014 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006628/0.2878, allocations: 3.12 MB / 1.017 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.3088, allocations: 13.58 MB / 1.03 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.3116, allocations: 1.728 MB / 1.032 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002138/0.3138, allocations: 1.421 MB / 1.033 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.3139, allocations: 20.98 kB / 1.033 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.314, allocations: 39.56 kB / 1.033 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 3.727e-06/0.314, allocations: 0 / 1.033 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.5652/0.8792, allocations: 35.94 MB / 1.068 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.8793, allocations: 71.22 kB / 1.068 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.881, allocations: 1.049 MB / 1.069 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.8813, allocations: 55.12 kB / 1.069 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.8818, allocations: 0.7902 MB / 1.07 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/0.8823, allocations: 0.6209 MB / 1.071 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.8824, allocations: 39.84 kB / 1.071 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8825, allocations: 390.5 kB / 1.071 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/0.8854, allocations: 1.921 MB / 1.073 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.8886, allocations: 2.276 MB / 1.075 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006492/0.8951, allocations: 4.38 MB / 1.079 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/0.8952, allocations: 2.969 kB / 1.079 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02221/0.9174, allocations: 8.993 MB / 1.088 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.9175, allocations: 9.406 kB / 1.088 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.9175, allocations: 13 kB / 1.088 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01734/0.9349, allocations: 4.978 MB / 1.093 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/0.9358, allocations: 190.4 kB / 1.093 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04981/0.9856, allocations: 35.08 MB / 1.128 GB, free: 54.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.9876, allocations: 103.1 kB / 1.128 GB, free: 54.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.988, allocations: 68.3 kB / 1.128 GB, free: 54.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001396/0.9894, allocations: 0.8064 MB / 1.129 GB, free: 54.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.9897, allocations: 142.7 kB / 1.129 GB, free: 54.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/1.007, allocations: 8.868 MB / 1.137 GB, free: 45.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.007, allocations: 20 kB / 1.137 GB, free: 45.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.912e-05/1.007, allocations: 32 kB / 1.137 GB, free: 45.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/1.007, allocations: 7.969 kB / 1.137 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.031, allocations: 13.27 MB / 1.15 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/1.031, allocations: 4 kB / 1.15 GB, free: 31.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/1.032, allocations: 119.8 kB / 1.15 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/1.047, allocations: 4.76 MB / 1.155 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004583/1.048, allocations: 40 kB / 1.155 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04518/1.093, allocations: 31.4 MB / 1.186 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.093, allocations: 4 kB / 1.186 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/1.113, allocations: 8.394 MB / 1.194 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.115, allocations: 0.6124 MB / 1.195 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/1.116, allocations: 36 kB / 1.195 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.117, allocations: 91.89 kB / 1.195 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000849/1.118, allocations: 165.6 kB / 1.195 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/1.118, allocations: 48 kB / 1.195 GB, free: 1.535 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001345/1.12, allocations: 0.7304 MB / 1.196 GB, free: 0.793 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.12, allocations: 0 / 1.196 GB, free: 0.793 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003733/1.123, allocations: 0.9922 MB / 1.197 GB, free: 15.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01938/1.143, allocations: 8.977 MB / 1.205 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.154, allocations: 5.832 MB / 1.211 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.154, allocations: 0 / 1.211 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008278/1.162, allocations: 3.787 MB / 1.215 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/1.165, allocations: 223.8 kB / 1.215 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/1.207, allocations: 20.66 MB / 1.235 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/1.21, allocations: 1.859 MB / 1.237 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001165/1.211, allocations: 351.4 kB / 1.237 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008546/1.212, allocations: 0.6086 MB / 1.238 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/1.212, allocations: 0 / 1.238 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.672/1.884, allocations: 69.68 MB / 1.306 GB, free: 15.46 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/1.884, allocations: 250.3 kB / 1.306 GB, free: 15.21 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/5.258, allocations: 7.938 kB / 1.306 GB, free: 15.2 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)