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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.43/1.43, allocations: 252 MB / 267.3 MB, free: 10.84 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.00145/0.00145, allocations: 173.9 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008078/0.0008078, allocations: 86.36 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 12.02 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2339, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01058/0.2446, allocations: 11.28 MB / 0.9119 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00714/0.2517, allocations: 5.276 MB / 0.9171 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.253, allocations: 31.88 kB / 0.9171 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.2542, allocations: 322 kB / 0.9174 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.2558, allocations: 0.5717 MB / 0.918 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.2574, allocations: 0.6355 MB / 0.9186 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002725/0.2601, allocations: 3.586 MB / 0.9221 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004801/0.265, allocations: 4.116 MB / 0.9261 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.2665, allocations: 0.7277 MB / 0.9268 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.2683, allocations: 1.036 MB / 0.9279 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.2687, allocations: 92 kB / 0.9279 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.2702, allocations: 491.2 kB / 0.9284 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008439/0.2711, allocations: 0.7248 MB / 0.9291 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.2724, allocations: 0.8141 MB / 0.9299 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.2762, allocations: 3.435 MB / 0.9333 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2762, allocations: 0 / 0.9333 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2762, allocations: 0 / 0.9333 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001266/0.2764, allocations: 0 / 0.9333 GB, free: 29.94 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003868/0.2802, allocations: 1.617 MB / 0.9348 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2803, allocations: 12.03 kB / 0.9349 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000719/0.281, allocations: 244.4 kB / 0.9351 GB, free: 28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/0.2836, allocations: 490.4 kB / 0.9356 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.2859, allocations: 1.148 MB / 0.9367 GB, free: 26.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/0.286, allocations: 115.4 kB / 0.9368 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.2864, allocations: 151.9 kB / 0.9369 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004433/0.2909, allocations: 2.751 MB / 0.9396 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.735e-05/0.2909, allocations: 7.984 kB / 0.9396 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.2912, allocations: 63.98 kB / 0.9397 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003035/0.2915, allocations: 178.9 kB / 0.9399 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.2948, allocations: 2.299 MB / 0.9421 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009951/0.3048, allocations: 10.52 MB / 0.9524 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.3057, allocations: 0.5833 MB / 0.953 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.3062, allocations: 392.5 kB / 0.9533 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.675e-05/0.3063, allocations: 89.09 kB / 0.9534 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3063, allocations: 38.5 kB / 0.9534 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/0.3063, allocations: 0 / 0.9534 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.01856/0.3249, allocations: 6.282 MB / 0.9596 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.325, allocations: 81.55 kB / 0.9597 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3261, allocations: 0.9023 MB / 0.9605 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.3262, allocations: 37.7 kB / 0.9606 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.3265, allocations: 0.7539 MB / 0.9613 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.3267, allocations: 193.4 kB / 0.9615 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.3268, allocations: 16 kB / 0.9615 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.327, allocations: 386.8 kB / 0.9619 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.3281, allocations: 0.6421 MB / 0.9625 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.3294, allocations: 1.015 MB / 0.9635 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.3317, allocations: 1.666 MB / 0.9651 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.3318, allocations: 7.938 kB / 0.9651 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009079/0.3409, allocations: 3.225 MB / 0.9683 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004056/0.3413, allocations: 434.1 kB / 0.9687 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.3413, allocations: 16 kB / 0.9687 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007982/0.3493, allocations: 1.864 MB / 0.9705 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009462/0.3503, allocations: 219.7 kB / 0.9707 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.365, allocations: 10.22 MB / 0.9807 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.3665, allocations: 175.6 kB / 0.9809 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.3667, allocations: 43.98 kB / 0.9809 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3668, allocations: 4 kB / 0.9809 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00747/0.3742, allocations: 2.633 MB / 0.9835 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/0.3743, allocations: 12 kB / 0.9835 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005214/0.3795, allocations: 1.204 MB / 0.9847 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3806, allocations: 255.5 kB / 0.9849 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008243/0.3889, allocations: 5.543 MB / 0.9903 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.3902, allocations: 151.8 kB / 0.9905 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.3904, allocations: 43.98 kB / 0.9905 GB, free: 0.7031 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001454/0.3919, allocations: 0.8361 MB / 0.9914 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.3921, allocations: 79.09 kB / 0.9914 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008098/0.4003, allocations: 2.684 MB / 0.994 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.4003, allocations: 4 kB / 0.9941 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4003, allocations: 4 kB / 0.9941 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.4004, allocations: 7.984 kB / 0.9941 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.4122, allocations: 4.632 MB / 0.9986 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.4122, allocations: 7.938 kB / 0.9986 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.4127, allocations: 96.09 kB / 0.9987 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007059/0.4197, allocations: 1.712 MB / 1 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.39e-05/0.4199, allocations: 16 kB / 1 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/0.4338, allocations: 9.777 MB / 1.01 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.4338, allocations: 4 kB / 1.01 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008148/0.442, allocations: 2.652 MB / 1.013 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.4427, allocations: 280.1 kB / 1.013 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.443, allocations: 12 kB / 1.013 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.444, allocations: 143.7 kB / 1.013 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.4443, allocations: 40.12 kB / 1.013 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/0.4444, allocations: 16 kB / 1.013 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001192/0.4456, allocations: 0.6434 MB / 1.014 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4456, allocations: 4 kB / 1.014 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002777/0.4484, allocations: 0.582 MB / 1.014 GB, free: 7.699 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008466/0.4569, allocations: 3.244 MB / 1.017 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005864/0.4628, allocations: 3.25 MB / 1.021 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.4628, allocations: 0 / 1.021 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.4649, allocations: 1.276 MB / 1.022 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.4666, allocations: 222.8 kB / 1.022 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/0.5009, allocations: 15.13 MB / 1.037 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.5029, allocations: 1.618 MB / 1.038 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001453/0.5044, allocations: 498.5 kB / 1.039 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007275/0.5051, allocations: 492 kB / 1.039 GB, free: 13.29 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/0.5052, allocations: 4 kB / 1.039 GB, free: 13.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4866/0.9918, allocations: 34.25 MB / 1.073 GB, free: 136.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.992, allocations: 272.4 kB / 1.073 GB, free: 136 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.837, allocations: 1.625 kB / 1.073 GB, free: 136 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)