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.648/1.648, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 172.4 kB / 326.5 MB, free: 2.234 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.717/1.717, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009785/0.0009785, allocations: 103.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004517, allocations: 8.031 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2502, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7987/1.049, allocations: 164.8 MB / 1.061 GB, free: 63.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.049, allocations: 96.47 kB / 1.061 GB, free: 63.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4822/1.531, allocations: 200.1 MB / 1.257 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.466e-06/1.532, allocations: 0 / 1.257 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006757/1.532, allocations: 143.9 kB / 1.257 GB, free: 1.805 MB / 0.7448 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.02074/1.553, allocations: 4.758 MB / 1.261 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.553, allocations: 8.031 kB / 1.261 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005103/1.558, allocations: 0.8088 MB / 1.262 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009573/1.568, allocations: 1.055 MB / 1.263 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/1.581, allocations: 3.403 MB / 1.267 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006049/1.581, allocations: 411.1 kB / 1.267 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003602/1.585, allocations: 0.5466 MB / 1.267 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03058/1.616, allocations: 8.586 MB / 1.276 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005363/1.616, allocations: 31.72 kB / 1.276 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003102/1.619, allocations: 243.9 kB / 1.276 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005093/1.62, allocations: 310.8 kB / 1.276 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/1.639, allocations: 6.151 MB / 1.282 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06339/1.703, allocations: 40.1 MB / 1.322 GB, free: 11.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/1.707, allocations: 3.093 MB / 1.325 GB, free: 7.883 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/1.707, allocations: 18 kB / 1.325 GB, free: 7.867 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/1.707, allocations: 56.56 kB / 1.325 GB, free: 7.805 MB / 0.823 GB Notification: Performance of pre-optimization done (n=179): time 5.691e-06/1.707, allocations: 0 / 1.325 GB, free: 7.805 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.02566/1.733, allocations: 9.868 MB / 1.334 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/1.733, allocations: 73.34 kB / 1.334 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/1.735, allocations: 1.302 MB / 1.336 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/1.735, allocations: 53.7 kB / 1.336 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002528/1.738, allocations: 2.242 MB / 1.338 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.739, allocations: 0.6354 MB / 1.339 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.739, allocations: 48 kB / 1.339 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.739, allocations: 390.3 kB / 1.339 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/1.741, allocations: 1.172 MB / 1.34 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/1.744, allocations: 1.847 MB / 1.342 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/1.746, allocations: 1.509 MB / 1.343 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.746, allocations: 4 kB / 1.343 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008336/1.755, allocations: 4.536 MB / 1.348 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/1.755, allocations: 12 kB / 1.348 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/1.755, allocations: 24.09 kB / 1.348 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/1.759, allocations: 1.585 MB / 1.349 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.76, allocations: 351.4 kB / 1.35 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/1.785, allocations: 17.69 MB / 1.367 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.788, allocations: 119.9 kB / 1.367 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/1.788, allocations: 99.94 kB / 1.367 GB, free: 11.18 MB / 0.8698 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 () * Number of clocked 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.004922/1.793, allocations: 1.887 MB / 1.369 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000716/1.794, allocations: 221.4 kB / 1.369 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007636/1.801, allocations: 4.079 MB / 1.373 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/1.801, allocations: 23.95 kB / 1.373 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.801, allocations: 20 kB / 1.373 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/1.801, allocations: 11.95 kB / 1.373 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.82, allocations: 9.392 MB / 1.382 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.82, allocations: 8.562 kB / 1.382 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/1.821, allocations: 183.7 kB / 1.383 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/1.824, allocations: 1.35 MB / 1.384 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/1.824, allocations: 39.92 kB / 1.384 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6813/2.506, allocations: 16.53 MB / 1.4 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/2.506, allocations: 8 kB / 1.4 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008616/2.514, allocations: 4.35 MB / 1.404 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/2.517, allocations: 0.5257 MB / 1.405 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/2.517, allocations: 37.16 kB / 1.405 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/2.518, allocations: 92.05 kB / 1.405 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007582/2.519, allocations: 158.3 kB / 1.405 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/2.519, allocations: 47.95 kB / 1.405 GB, free: 208 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002408/2.521, allocations: 0.9893 MB / 1.406 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/2.521, allocations: 0.875 kB / 1.406 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006303/2.528, allocations: 1.032 MB / 1.407 GB, free: 207.8 MB / 0.8855 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 (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.01065/2.538, allocations: 6.094 MB / 1.413 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008547/2.547, allocations: 4.269 MB / 1.417 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/2.547, allocations: 0.8125 kB / 1.417 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/2.551, allocations: 2.665 MB / 1.42 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/2.555, allocations: 0.6745 MB / 1.421 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04532/2.6, allocations: 37.34 MB / 1.457 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004853/2.605, allocations: 3.668 MB / 1.461 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001892/2.607, allocations: 464.1 kB / 1.461 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/2.609, allocations: 1.793 MB / 1.463 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/2.609, allocations: 0 / 1.463 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/2.74, allocations: 71.04 MB / 1.532 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/2.74, allocations: 249.5 kB / 1.532 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.918/6.658, allocations: 0 / 1.532 GB, free: 177.5 MB / 0.8855 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)