Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 65.8 kB / 0.6716 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1879, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01125/0.1992, allocations: 10.1 MB / 0.7933 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.2038, allocations: 3.21 MB / 0.7965 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.2042, allocations: 35.92 kB / 0.7965 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.2056, allocations: 0.6023 MB / 0.7971 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.2067, allocations: 0.7388 MB / 0.7978 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2079, allocations: 0.7377 MB / 0.7985 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.2103, allocations: 2.996 MB / 0.8015 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/0.2128, allocations: 2.61 MB / 0.804 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.2142, allocations: 1.25 MB / 0.8052 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.2163, allocations: 1.566 MB / 0.8068 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.2166, allocations: 236 kB / 0.807 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009392/0.2176, allocations: 0.4916 MB / 0.8075 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009789/0.2186, allocations: 1.068 MB / 0.8085 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.2197, allocations: 1.112 MB / 0.8096 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.2228, allocations: 3.669 MB / 0.8132 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2228, allocations: 0 / 0.8132 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2228, allocations: 0 / 0.8132 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.525e-05/0.2229, allocations: 0 / 0.8132 GB, free: 14.82 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003658/0.2265, allocations: 2.15 MB / 0.8153 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.2266, allocations: 12.03 kB / 0.8153 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/0.227, allocations: 261.2 kB / 0.8155 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008915/0.2359, allocations: 1.309 MB / 0.8168 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.238, allocations: 1.251 MB / 0.818 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/0.2381, allocations: 111.4 kB / 0.8182 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.2384, allocations: 156.3 kB / 0.8183 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/0.2431, allocations: 3.433 MB / 0.8217 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.2431, allocations: 7.844 kB / 0.8217 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.2433, allocations: 67.97 kB / 0.8217 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/0.2436, allocations: 203.1 kB / 0.8219 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004509/0.2481, allocations: 3.124 MB / 0.825 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.2636, allocations: 13.62 MB / 0.8383 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.266, allocations: 1.73 MB / 0.84 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.2679, allocations: 1.44 MB / 0.8414 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.268, allocations: 12.98 kB / 0.8414 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.268, allocations: 47.56 kB / 0.8414 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.685e-06/0.268, allocations: 0 / 0.8414 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1497/0.4178, allocations: 36.67 MB / 0.8772 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.4178, allocations: 73.34 kB / 0.8773 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.4193, allocations: 1.053 MB / 0.8783 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.4195, allocations: 57.7 kB / 0.8784 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.4201, allocations: 0.7835 MB / 0.8792 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/0.4206, allocations: 0.6238 MB / 0.8798 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/0.4214, allocations: 367.3 kB / 0.8801 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.4215, allocations: 301.1 kB / 0.8804 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/0.4242, allocations: 1.928 MB / 0.8823 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/0.4271, allocations: 2.281 MB / 0.8845 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005698/0.4328, allocations: 4.395 MB / 0.8888 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.4328, allocations: 7.938 kB / 0.8888 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02005/0.4529, allocations: 9.019 MB / 0.8976 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.453, allocations: 11.94 kB / 0.8976 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.453, allocations: 15.94 kB / 0.8977 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/0.47, allocations: 5.003 MB / 0.9025 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/0.4708, allocations: 191.7 kB / 0.9027 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3604/0.8312, allocations: 38.93 MB / 0.9407 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.8332, allocations: 99.19 kB / 0.9408 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.8335, allocations: 68.7 kB / 0.9409 GB, free: 117.9 MB / 0.7325 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 (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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001301/0.8348, allocations: 0.7956 MB / 0.9417 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.8351, allocations: 137.6 kB / 0.9418 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01887/0.854, allocations: 8.9 MB / 0.9505 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.8541, allocations: 21.34 kB / 0.9505 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-05/0.8542, allocations: 29.12 kB / 0.9505 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/0.8542, allocations: 12.53 kB / 0.9506 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02369/0.8779, allocations: 13.3 MB / 0.9636 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.878, allocations: 0.5625 kB / 0.9636 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.8784, allocations: 125.9 kB / 0.9637 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/0.8931, allocations: 4.785 MB / 0.9683 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.8934, allocations: 35.31 kB / 0.9684 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04147/0.9349, allocations: 34.87 MB / 1.002 GB, free: 73.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.9349, allocations: 4 kB / 1.002 GB, free: 73.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.9514, allocations: 8.404 MB / 1.011 GB, free: 65.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.9525, allocations: 0.6086 MB / 1.011 GB, free: 64.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.9528, allocations: 40.83 kB / 1.011 GB, free: 64.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.9541, allocations: 87.89 kB / 1.011 GB, free: 64.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007128/0.9548, allocations: 161.7 kB / 1.012 GB, free: 64.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.9549, allocations: 48 kB / 1.012 GB, free: 64.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000736/0.9557, allocations: 0.7382 MB / 1.012 GB, free: 63.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9557, allocations: 0 / 1.012 GB, free: 63.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002452/0.9581, allocations: 1.004 MB / 1.013 GB, free: 62.67 MB / 0.7325 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 (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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01638/0.9745, allocations: 9.003 MB / 1.022 GB, free: 53.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009031/0.9836, allocations: 6.684 MB / 1.029 GB, free: 46.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9836, allocations: 0 / 1.029 GB, free: 46.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006656/0.9903, allocations: 3.838 MB / 1.032 GB, free: 42.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.9917, allocations: 238.1 kB / 1.033 GB, free: 42.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04868/1.04, allocations: 31.71 MB / 1.064 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.042, allocations: 1.859 MB / 1.065 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007086/1.042, allocations: 352.4 kB / 1.066 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/1.043, allocations: 0.6047 MB / 1.066 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.043, allocations: 4 kB / 1.066 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.148, allocations: 74.17 MB / 1.139 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.4, allocations: 10.22 kB / 1.139 GB, free: 13.5 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)