Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.449/1.449, 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.001006/0.001006, allocations: 171.1 kB / 327 MB, free: 2.105 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.653/1.653, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0007505/0.0007505, allocations: 86.31 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 10.78 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2097, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01155/0.2213, allocations: 13.31 MB / 0.9139 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2321, allocations: 9.375 MB / 0.9231 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.2336, allocations: 51.62 kB / 0.9231 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.2347, allocations: 273.8 kB / 0.9234 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.2391, allocations: 1.402 MB / 0.9248 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.2409, allocations: 0.683 MB / 0.9254 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003285/0.2442, allocations: 3.184 MB / 0.9285 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002972/0.2471, allocations: 1.978 MB / 0.9305 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.2486, allocations: 0.8791 MB / 0.9313 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.2502, allocations: 1.062 MB / 0.9324 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003479/0.2505, allocations: 72 kB / 0.9324 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.2523, allocations: 0.8577 MB / 0.9333 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.2529, allocations: 0.5139 MB / 0.9338 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.254, allocations: 0.8447 MB / 0.9346 GB, free: 28.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.2569, allocations: 2.671 MB / 0.9372 GB, free: 26.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2569, allocations: 0 / 0.9372 GB, free: 26.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2569, allocations: 4 kB / 0.9372 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.2569, allocations: 0 / 0.9372 GB, free: 26.07 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002832/0.2598, allocations: 1.808 MB / 0.939 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2598, allocations: 8.031 kB / 0.939 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.26, allocations: 194.4 kB / 0.9392 GB, free: 24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.2708, allocations: 2.152 MB / 0.9413 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.2734, allocations: 1.197 MB / 0.9424 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.2735, allocations: 90.73 kB / 0.9425 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.2737, allocations: 127.8 kB / 0.9426 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/0.279, allocations: 2.702 MB / 0.9453 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.279, allocations: 4 kB / 0.9453 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.2792, allocations: 59.97 kB / 0.9453 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005928/0.2798, allocations: 182.1 kB / 0.9455 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/0.2867, allocations: 2.85 MB / 0.9483 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.2988, allocations: 10.56 MB / 0.9586 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006379/0.3053, allocations: 2.579 MB / 0.9611 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/0.3084, allocations: 1.306 MB / 0.9624 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.3085, allocations: 16.94 kB / 0.9624 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3086, allocations: 43.56 kB / 0.9625 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=89): time 2.405e-06/0.3086, allocations: 0 / 0.9625 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=131): time 0.04719/0.3558, allocations: 13.44 MB / 0.9756 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3558, allocations: 68.72 kB / 0.9757 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.3574, allocations: 1.117 MB / 0.9767 GB, free: 392 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.3575, allocations: 53.64 kB / 0.9768 GB, free: 332 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/0.358, allocations: 0.7155 MB / 0.9775 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.3585, allocations: 445.5 kB / 0.9779 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3586, allocations: 28 kB / 0.9779 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3587, allocations: 361.9 kB / 0.9783 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003367/0.3621, allocations: 1.366 MB / 0.9796 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.3657, allocations: 1.624 MB / 0.9812 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/0.3726, allocations: 3.033 MB / 0.9842 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3726, allocations: 4 kB / 0.9842 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01153/0.3842, allocations: 4.478 MB / 0.9886 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3842, allocations: 8 kB / 0.9886 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3842, allocations: 12.06 kB / 0.9886 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005213/0.3895, allocations: 1.427 MB / 0.99 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.3916, allocations: 447.2 kB / 0.9904 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/0.4165, allocations: 24.56 MB / 1.014 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.4195, allocations: 311.6 kB / 1.015 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.4197, allocations: 67.95 kB / 1.015 GB, free: 7.406 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (2,4,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009161/0.4206, allocations: 437.3 kB / 1.015 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.4209, allocations: 162.1 kB / 1.015 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.4329, allocations: 4.496 MB / 1.02 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.4329, allocations: 12 kB / 1.02 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/0.4329, allocations: 16 kB / 1.02 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.809e-05/0.433, allocations: 11.97 kB / 1.02 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.4483, allocations: 6.822 MB / 1.026 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.4484, allocations: 4 kB / 1.026 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.4503, allocations: 391.3 kB / 1.027 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004758/0.455, allocations: 1.302 MB / 1.028 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.4552, allocations: 43.97 kB / 1.028 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02314/0.4784, allocations: 23.53 MB / 1.051 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4784, allocations: 4.156 kB / 1.051 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4663/0.9447, allocations: 4.243 MB / 1.055 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009956/0.9458, allocations: 454.7 kB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.946, allocations: 30.86 kB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/0.9483, allocations: 318.1 kB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/0.9488, allocations: 122.3 kB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.949, allocations: 48.45 kB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001176/0.9502, allocations: 0.7576 MB / 1.057 GB, free: 136.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.142e-06/0.9502, allocations: 2.969 kB / 1.057 GB, free: 136.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002178/0.9524, allocations: 0.5706 MB / 1.057 GB, free: 136.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01216/0.9645, allocations: 4.831 MB / 1.062 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.9766, allocations: 5.157 MB / 1.067 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.9766, allocations: 0 / 1.067 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006949/0.9836, allocations: 3.498 MB / 1.071 GB, free: 132.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.9869, allocations: 0.5203 MB / 1.071 GB, free: 132.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04298/1.03, allocations: 21.07 MB / 1.092 GB, free: 124.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009753/1.031, allocations: 1.482 MB / 1.093 GB, free: 123.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001885/1.033, allocations: 433.6 kB / 1.094 GB, free: 123.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/1.034, allocations: 0.6248 MB / 1.094 GB, free: 123.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.034, allocations: 0 / 1.094 GB, free: 123.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06731/1.101, allocations: 49.05 MB / 1.142 GB, free: 74.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/1.101, allocations: 256.7 kB / 1.142 GB, free: 74.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.935/5.036, allocations: 5.969 kB / 1.142 GB, free: 74.71 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)