Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 179.5 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.3 MB / 0.5671 GB, free: 15.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008884/0.0008884, allocations: 94.27 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.118e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7514/0.9509, allocations: 165 MB / 1.047 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.9513, allocations: 90.56 kB / 1.047 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4821/1.433, allocations: 198.4 MB / 1.24 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.807e-06/1.433, allocations: 3.938 kB / 1.24 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004681/1.434, allocations: 139.9 kB / 1.24 GB, free: 7.871 MB / 0.8542 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.01503/1.449, allocations: 4.458 MB / 1.245 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.449, allocations: 12.03 kB / 1.245 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007736/1.457, allocations: 1.039 MB / 1.246 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5209/1.978, allocations: 3.395 MB / 1.249 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/1.978, allocations: 178.6 kB / 1.249 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/1.98, allocations: 328.8 kB / 1.25 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01514/1.996, allocations: 5.441 MB / 1.255 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/2.017, allocations: 7.677 MB / 1.262 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/2.018, allocations: 32.47 kB / 1.262 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/2.019, allocations: 13.12 kB / 1.263 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003874/2.019, allocations: 315.8 kB / 1.263 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04246/2.062, allocations: 38.96 MB / 1.301 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/2.065, allocations: 3.01 MB / 1.304 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002337/2.067, allocations: 1.899 MB / 1.306 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/2.068, allocations: 28.14 kB / 1.306 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/2.068, allocations: 52.16 kB / 1.306 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.087e-06/2.068, allocations: 0 / 1.306 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01006/2.078, allocations: 5.787 MB / 1.311 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/2.078, allocations: 70.69 kB / 1.311 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/2.079, allocations: 1.095 MB / 1.313 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.00028/2.08, allocations: 29.2 kB / 1.313 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/2.081, allocations: 2.248 MB / 1.315 GB, free: 159 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000747/2.082, allocations: 0.604 MB / 1.315 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/2.082, allocations: 0 / 1.315 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001449/2.082, allocations: 400.6 kB / 1.316 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/2.084, allocations: 1.1 MB / 1.317 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/2.086, allocations: 1.766 MB / 1.318 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/2.089, allocations: 1.446 MB / 1.32 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/2.089, allocations: 8.875 kB / 1.32 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00922/2.098, allocations: 4.212 MB / 1.324 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/2.098, allocations: 18.28 kB / 1.324 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/2.098, allocations: 22.86 kB / 1.324 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004527/2.103, allocations: 1.452 MB / 1.325 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/2.104, allocations: 349.8 kB / 1.326 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/2.129, allocations: 16.42 MB / 1.342 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/2.131, allocations: 71.34 kB / 1.342 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/2.132, allocations: 91.44 kB / 1.342 GB, free: 150.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005065/2.132, allocations: 163.1 kB / 1.342 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008222/2.141, allocations: 3.669 MB / 1.346 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008508/2.141, allocations: 218.4 kB / 1.346 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008254/2.15, allocations: 3.844 MB / 1.35 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/2.15, allocations: 24.33 kB / 1.35 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/2.15, allocations: 17.03 kB / 1.35 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/2.15, allocations: 14.3 kB / 1.35 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/2.168, allocations: 8.35 MB / 1.358 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/2.168, allocations: 3.5 kB / 1.358 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/2.169, allocations: 183.9 kB / 1.358 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004305/2.174, allocations: 1.323 MB / 1.359 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/2.174, allocations: 6.688 kB / 1.359 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/2.196, allocations: 15.31 MB / 1.374 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/2.196, allocations: 13.98 kB / 1.374 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/2.204, allocations: 4.155 MB / 1.378 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/2.205, allocations: 0.512 MB / 1.379 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/2.206, allocations: 14.39 kB / 1.379 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/2.207, allocations: 58.25 kB / 1.379 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000611/2.208, allocations: 159.9 kB / 1.379 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/2.208, allocations: 47.38 kB / 1.379 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001254/2.209, allocations: 0.8068 MB / 1.38 GB, free: 132 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/2.209, allocations: 0 / 1.38 GB, free: 132 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003751/2.213, allocations: 0.9258 MB / 1.381 GB, free: 132 MB / 0.8542 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 () * 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 (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 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007297/2.22, allocations: 5.881 MB / 1.387 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005623/2.226, allocations: 3.988 MB / 1.391 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.226, allocations: 0 / 1.391 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/2.23, allocations: 2.51 MB / 1.393 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/2.233, allocations: 0.6223 MB / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/2.246, allocations: 8.1 MB / 1.401 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/2.249, allocations: 3.664 MB / 1.405 GB, free: 121 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001362/2.251, allocations: 450.5 kB / 1.406 GB, free: 121 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/2.252, allocations: 1.796 MB / 1.407 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/2.252, allocations: 1.875 kB / 1.407 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/2.358, allocations: 68.28 MB / 1.474 GB, free: 82.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/2.358, allocations: 184.5 kB / 1.474 GB, free: 82.39 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.143/5.501, allocations: 0 / 1.474 GB, free: 82.39 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)