Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001503/0.001503, allocations: 176.9 kB / 366.7 MB, free: 1.629 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.578/1.578, allocations: 205.2 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 85.75 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.434e-05, allocations: 4 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7361, allocations: 116.3 MB / 0.9734 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/0.9712, allocations: 171.4 MB / 1.141 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.9715, allocations: 95.94 kB / 1.141 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.018/1.99, allocations: 198.4 MB / 1.335 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.433e-06/1.99, allocations: 0 / 1.335 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002759/1.99, allocations: 136.5 kB / 1.335 GB, free: 183.1 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.01304/2.003, allocations: 4.461 MB / 1.339 GB, free: 181 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/2.003, allocations: 6.781 kB / 1.339 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007533/2.011, allocations: 1.042 MB / 1.34 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007317/2.018, allocations: 3.401 MB / 1.343 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/2.018, allocations: 178.7 kB / 1.344 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/2.02, allocations: 328.6 kB / 1.344 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01077/2.03, allocations: 5.437 MB / 1.349 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/2.054, allocations: 7.676 MB / 1.357 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002031/2.054, allocations: 34.69 kB / 1.357 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006974/2.054, allocations: 17.75 kB / 1.357 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002954/2.055, allocations: 317.7 kB / 1.357 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03814/2.093, allocations: 38.95 MB / 1.395 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/2.096, allocations: 3.004 MB / 1.398 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/2.098, allocations: 1.903 MB / 1.4 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/2.098, allocations: 17.5 kB / 1.4 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/2.098, allocations: 51.34 kB / 1.4 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.228e-06/2.098, allocations: 0 / 1.4 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.009527/2.108, allocations: 5.795 MB / 1.406 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/2.108, allocations: 75.7 kB / 1.406 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/2.11, allocations: 1.093 MB / 1.407 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/2.11, allocations: 27.11 kB / 1.407 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/2.111, allocations: 2.249 MB / 1.409 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006107/2.112, allocations: 0.6043 MB / 1.41 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/2.112, allocations: 0 / 1.41 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001643/2.112, allocations: 394.3 kB / 1.41 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/2.113, allocations: 1.109 MB / 1.411 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/2.115, allocations: 1.768 MB / 1.413 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/2.116, allocations: 1.438 MB / 1.414 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/2.116, allocations: 8 kB / 1.414 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006218/2.123, allocations: 4.215 MB / 1.418 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/2.123, allocations: 16 kB / 1.418 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/2.123, allocations: 20 kB / 1.418 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/2.126, allocations: 1.448 MB / 1.42 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/2.127, allocations: 358.8 kB / 1.42 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/2.143, allocations: 16.41 MB / 1.436 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/2.145, allocations: 75.83 kB / 1.436 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/2.145, allocations: 92 kB / 1.436 GB, free: 100.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.0003235/2.145, allocations: 161.4 kB / 1.436 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005029/2.15, allocations: 3.674 MB / 1.44 GB, free: 96.76 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/2.151, allocations: 205.6 kB / 1.44 GB, free: 96.56 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/2.156, allocations: 3.851 MB / 1.444 GB, free: 92.69 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/2.156, allocations: 24 kB / 1.444 GB, free: 92.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/2.156, allocations: 19.95 kB / 1.444 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/2.156, allocations: 11.95 kB / 1.444 GB, free: 92.63 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/2.169, allocations: 8.33 MB / 1.452 GB, free: 84.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/2.169, allocations: 4 kB / 1.452 GB, free: 84.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/2.17, allocations: 199.9 kB / 1.452 GB, free: 83.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/2.173, allocations: 1.33 MB / 1.454 GB, free: 82.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/2.173, allocations: 8 kB / 1.454 GB, free: 82.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/2.189, allocations: 15.32 MB / 1.469 GB, free: 66.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/2.189, allocations: 12 kB / 1.469 GB, free: 66.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005728/2.194, allocations: 4.141 MB / 1.473 GB, free: 62.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/2.196, allocations: 0.5101 MB / 1.473 GB, free: 61.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/2.196, allocations: 4.328 kB / 1.473 GB, free: 61.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/2.197, allocations: 63.89 kB / 1.473 GB, free: 61.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/2.197, allocations: 161.7 kB / 1.473 GB, free: 61.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/2.197, allocations: 55.94 kB / 1.473 GB, free: 61.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001014/2.198, allocations: 0.7983 MB / 1.474 GB, free: 60.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.91e-07/2.198, allocations: 4 kB / 1.474 GB, free: 60.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003537/2.202, allocations: 0.9219 MB / 1.475 GB, free: 59.95 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.005835/2.208, allocations: 5.885 MB / 1.481 GB, free: 53.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005691/2.213, allocations: 3.988 MB / 1.485 GB, free: 49.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/2.213, allocations: 3.938 kB / 1.485 GB, free: 49.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/2.217, allocations: 2.496 MB / 1.487 GB, free: 47.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/2.22, allocations: 0.6191 MB / 1.488 GB, free: 46.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/2.236, allocations: 8.11 MB / 1.496 GB, free: 38.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003815/2.24, allocations: 3.664 MB / 1.499 GB, free: 34.81 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001655/2.242, allocations: 458.8 kB / 1.5 GB, free: 34.39 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/2.244, allocations: 1.792 MB / 1.501 GB, free: 32.61 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/2.244, allocations: 0 / 1.501 GB, free: 32.61 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/2.356, allocations: 68.28 MB / 1.568 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/2.357, allocations: 160.5 kB / 1.568 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/5.723, allocations: 3.516 kB / 1.568 GB, free: 12.61 MB / 0.9011 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)