Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.511/2.511, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.002106/0.002105, allocations: 176.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001076/0.001075, allocations: 100.5 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.788e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8068, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/1.101, allocations: 170.2 MB / 1.13 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/1.102, allocations: 93.86 kB / 1.13 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.432/2.533, allocations: 198.4 MB / 1.324 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.164e-06/2.533, allocations: 7.609 kB / 1.324 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004456/2.534, allocations: 133.4 kB / 1.324 GB, free: 182.8 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.02019/2.554, allocations: 4.45 MB / 1.328 GB, free: 181 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/2.554, allocations: 14.66 kB / 1.328 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/2.565, allocations: 1.046 MB / 1.329 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/2.577, allocations: 3.403 MB / 1.332 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/2.578, allocations: 183.7 kB / 1.333 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/2.58, allocations: 324 kB / 1.333 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01745/2.598, allocations: 5.443 MB / 1.338 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02708/2.625, allocations: 7.675 MB / 1.346 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003694/2.625, allocations: 29.72 kB / 1.346 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002384/2.628, allocations: 11.88 kB / 1.346 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005246/2.628, allocations: 317.2 kB / 1.346 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05626/2.685, allocations: 38.96 MB / 1.384 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00564/2.69, allocations: 3.015 MB / 1.387 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004255/2.695, allocations: 1.893 MB / 1.389 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/2.695, allocations: 23.23 kB / 1.389 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/2.695, allocations: 48.5 kB / 1.389 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 5.3e-06/2.695, allocations: 4 kB / 1.389 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01505/2.71, allocations: 5.8 MB / 1.395 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/2.71, allocations: 71.72 kB / 1.395 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/2.712, allocations: 1.088 MB / 1.396 GB, free: 136 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/2.713, allocations: 25.7 kB / 1.396 GB, free: 136 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/2.714, allocations: 2.248 MB / 1.398 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007876/2.715, allocations: 0.6032 MB / 1.398 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/2.715, allocations: 0 / 1.398 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000156/2.715, allocations: 397.5 kB / 1.399 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/2.717, allocations: 1.106 MB / 1.4 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/2.72, allocations: 1.772 MB / 1.402 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/2.723, allocations: 1.434 MB / 1.403 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/2.723, allocations: 12.81 kB / 1.403 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01075/2.733, allocations: 4.212 MB / 1.407 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/2.734, allocations: 24.47 kB / 1.407 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/2.734, allocations: 24.67 kB / 1.407 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00594/2.74, allocations: 1.439 MB / 1.409 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/2.742, allocations: 346.1 kB / 1.409 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02922/2.771, allocations: 16.4 MB / 1.425 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/2.774, allocations: 71.89 kB / 1.425 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/2.774, allocations: 99.11 kB / 1.425 GB, free: 112.3 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.0004672/2.775, allocations: 168.1 kB / 1.425 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009082/2.784, allocations: 3.676 MB / 1.429 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007632/2.785, allocations: 209.6 kB / 1.429 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009633/2.794, allocations: 3.848 MB / 1.433 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/2.794, allocations: 19.95 kB / 1.433 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/2.794, allocations: 16 kB / 1.433 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/2.794, allocations: 7.969 kB / 1.433 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/2.815, allocations: 8.353 MB / 1.441 GB, free: 95.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/2.815, allocations: 4 kB / 1.441 GB, free: 95.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/2.817, allocations: 183.1 kB / 1.441 GB, free: 95.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005669/2.823, allocations: 1.328 MB / 1.443 GB, free: 94.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/2.823, allocations: 8 kB / 1.443 GB, free: 94.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02716/2.85, allocations: 15.32 MB / 1.458 GB, free: 78.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/2.85, allocations: 7.938 kB / 1.458 GB, free: 78.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009823/2.86, allocations: 4.141 MB / 1.462 GB, free: 74.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/2.862, allocations: 0.5113 MB / 1.462 GB, free: 73.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007062/2.863, allocations: 4 kB / 1.462 GB, free: 73.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/2.865, allocations: 59.89 kB / 1.462 GB, free: 73.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/2.866, allocations: 165.7 kB / 1.462 GB, free: 73.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/2.866, allocations: 48 kB / 1.462 GB, free: 73.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001523/2.867, allocations: 0.81 MB / 1.463 GB, free: 72.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.022e-06/2.867, allocations: 0 / 1.463 GB, free: 72.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005145/2.873, allocations: 0.9296 MB / 1.464 GB, free: 71.62 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.01034/2.883, allocations: 5.874 MB / 1.47 GB, free: 65.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009864/2.893, allocations: 3.992 MB / 1.474 GB, free: 61.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/2.893, allocations: 0 / 1.474 GB, free: 61.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006598/2.9, allocations: 2.502 MB / 1.476 GB, free: 59.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/2.905, allocations: 0.6275 MB / 1.477 GB, free: 58.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/2.928, allocations: 8.096 MB / 1.485 GB, free: 50.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007041/2.935, allocations: 3.667 MB / 1.488 GB, free: 46.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002494/2.937, allocations: 449.3 kB / 1.489 GB, free: 46.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003576/2.941, allocations: 1.792 MB / 1.49 GB, free: 44.31 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/2.941, allocations: 0 / 1.49 GB, free: 44.31 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.179/3.12, allocations: 68.27 MB / 1.557 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003673/3.12, allocations: 173.1 kB / 1.557 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.149/7.269, allocations: 0 / 1.557 GB, free: 8.402 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)