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.007789/0.007789, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001163/0.001163, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 284.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 91.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4467, allocations: 86.98 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03848/0.4852, allocations: 34.83 MB / 0.7999 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.5039, allocations: 11.49 MB / 0.8112 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/0.5074, allocations: 163.2 kB / 0.8113 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.5188, allocations: 4.253 MB / 0.8155 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00794/0.5267, allocations: 2.092 MB / 0.8175 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008244/0.535, allocations: 2.398 MB / 0.8199 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01207/0.5471, allocations: 8.483 MB / 0.8281 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.5638, allocations: 11.13 MB / 0.839 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00817/0.572, allocations: 3.794 MB / 0.8427 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006786/0.5788, allocations: 4.183 MB / 0.8468 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002232/0.5811, allocations: 0.7813 MB / 0.8476 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004649/0.5858, allocations: 2.028 MB / 0.8495 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003577/0.5894, allocations: 3.053 MB / 0.8525 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005705/0.5951, allocations: 3.4 MB / 0.8558 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.6093, allocations: 11.98 MB / 0.8675 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6094, allocations: 0 / 0.8675 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6094, allocations: 0 / 0.8675 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003608/0.6097, allocations: 0 / 0.8675 GB, free: 11.45 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01525/0.625, allocations: 5.806 MB / 0.8732 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6251, allocations: 12.03 kB / 0.8732 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002118/0.6272, allocations: 0.8051 MB / 0.874 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00673/0.6339, allocations: 1.056 MB / 0.875 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.6446, allocations: 3.453 MB / 0.8784 GB, free: 168 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005408/0.6452, allocations: 415.6 kB / 0.8788 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002744/0.648, allocations: 0.5354 MB / 0.8793 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/0.6719, allocations: 9.086 MB / 0.8882 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003466/0.6723, allocations: 27.69 kB / 0.8882 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002252/0.6746, allocations: 240 kB / 0.8885 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005533/0.6752, allocations: 346.8 kB / 0.8888 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.6896, allocations: 6.826 MB / 0.8955 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04475/0.7344, allocations: 39.8 MB / 0.9343 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.7385, allocations: 3.103 MB / 0.9374 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/0.7415, allocations: 1.978 MB / 0.9393 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.7416, allocations: 25.98 kB / 0.9393 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.7417, allocations: 52.55 kB / 0.9394 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 3.997e-06/0.7417, allocations: 0 / 0.9394 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02523/0.7669, allocations: 9.981 MB / 0.9491 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.767, allocations: 77.39 kB / 0.9492 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.7693, allocations: 1.526 MB / 0.9507 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.7695, allocations: 53.7 kB / 0.9507 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.7709, allocations: 2.25 MB / 0.9529 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006293/0.7716, allocations: 0.6355 MB / 0.9535 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006866/0.7723, allocations: 407.9 kB / 0.9539 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.7724, allocations: 305.1 kB / 0.9542 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.7741, allocations: 1.179 MB / 0.9554 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.7764, allocations: 1.885 MB / 0.9572 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/0.7806, allocations: 3.371 MB / 0.9605 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.7807, allocations: 8 kB / 0.9605 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00792/0.7886, allocations: 4.581 MB / 0.965 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.7887, allocations: 16 kB / 0.965 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/0.7887, allocations: 20.09 kB / 0.965 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/0.7925, allocations: 1.588 MB / 0.9666 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.7938, allocations: 359.3 kB / 0.9669 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3875/1.181, allocations: 18.56 MB / 0.985 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/1.183, allocations: 119 kB / 0.9852 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.184, allocations: 95.12 kB / 0.9852 GB, free: 172.3 MB / 0.7325 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.002592/1.186, allocations: 1.903 MB / 0.9871 GB, free: 171.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/1.187, allocations: 224.5 kB / 0.9873 GB, free: 171.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00596/1.193, allocations: 4.086 MB / 0.9913 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.193, allocations: 18.66 kB / 0.9913 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.558e-05/1.193, allocations: 16.28 kB / 0.9913 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.193, allocations: 12.86 kB / 0.9914 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/1.205, allocations: 9.468 MB / 1.001 GB, free: 165.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.205, allocations: 3.25 kB / 1.001 GB, free: 165.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/1.206, allocations: 186.5 kB / 1.001 GB, free: 165.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/1.209, allocations: 1.359 MB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.209, allocations: 36 kB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1.225, allocations: 17.34 MB / 1.019 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.225, allocations: 11.94 kB / 1.019 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005618/1.231, allocations: 4.074 MB / 1.023 GB, free: 142.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.232, allocations: 0.5256 MB / 1.024 GB, free: 141.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/1.232, allocations: 36 kB / 1.024 GB, free: 141.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/1.233, allocations: 87.89 kB / 1.024 GB, free: 141.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/1.234, allocations: 170.9 kB / 1.024 GB, free: 141.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.234, allocations: 48 kB / 1.024 GB, free: 141.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001136/1.235, allocations: 1.005 MB / 1.025 GB, free: 140.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.235, allocations: 0 / 1.025 GB, free: 140.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002734/1.238, allocations: 0.9844 MB / 1.026 GB, free: 139.4 MB / 0.7325 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.005435/1.243, allocations: 4.667 MB / 1.03 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005743/1.249, allocations: 4.298 MB / 1.035 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.249, allocations: 4 kB / 1.035 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003451/1.252, allocations: 2.661 MB / 1.037 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.255, allocations: 0.7828 MB / 1.038 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/1.293, allocations: 26.84 MB / 1.064 GB, free: 99.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/1.297, allocations: 3.577 MB / 1.068 GB, free: 95.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001292/1.298, allocations: 463.9 kB / 1.068 GB, free: 94.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/1.3, allocations: 1.784 MB / 1.07 GB, free: 93.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.585e-06/1.3, allocations: 0 / 1.07 GB, free: 93.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.406, allocations: 73.96 MB / 1.142 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.57, allocations: 17.8 kB / 1.142 GB, free: 19.94 MB / 0.7325 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)