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.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.418/1.418, 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.001088/0.001089, allocations: 176.5 kB / 327 MB, free: 2.094 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.085/2.085, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0009213/0.0009214, allocations: 103.7 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 8.938 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005752/0.3011, allocations: 4.698 MB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004453/0.3056, allocations: 3.305 MB / 0.9087 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.306, allocations: 7.938 kB / 0.9088 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007874/0.3068, allocations: 175 kB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3079, allocations: 350.6 kB / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.3086, allocations: 247.5 kB / 0.9095 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.3096, allocations: 0.8647 MB / 0.9103 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.3106, allocations: 0.828 MB / 0.9111 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3108, allocations: 195.2 kB / 0.9113 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.3111, allocations: 267 kB / 0.9116 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.3112, allocations: 20 kB / 0.9116 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006056/0.3118, allocations: 383.4 kB / 0.912 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.3119, allocations: 139.5 kB / 0.9121 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3121, allocations: 236.6 kB / 0.9123 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.3129, allocations: 0.8764 MB / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3129, allocations: 0 / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3129, allocations: 0 / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3129, allocations: 0 / 0.9132 GB, free: 50.73 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001163/0.3141, allocations: 0.7365 MB / 0.9139 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3141, allocations: 8.031 kB / 0.9139 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.594e-05/0.3142, allocations: 74.72 kB / 0.914 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.3168, allocations: 0.6984 MB / 0.9147 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.3174, allocations: 499.7 kB / 0.9151 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3174, allocations: 21.03 kB / 0.9152 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.3175, allocations: 35.94 kB / 0.9152 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3188, allocations: 0.8434 MB / 0.916 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3189, allocations: 0 / 0.916 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.3189, allocations: 15.98 kB / 0.916 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.3191, allocations: 68.52 kB / 0.9161 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.3209, allocations: 0.939 MB / 0.917 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.3242, allocations: 2.933 MB / 0.9199 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3257, allocations: 0.5644 MB / 0.9204 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.3264, allocations: 312.6 kB / 0.9207 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.3265, allocations: 85.09 kB / 0.9208 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3265, allocations: 46.56 kB / 0.9209 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.3265, allocations: 0 / 0.9209 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.01177/0.3383, allocations: 3.652 MB / 0.9244 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3384, allocations: 81.11 kB / 0.9245 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.3388, allocations: 424.4 kB / 0.9249 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.3389, allocations: 29.7 kB / 0.9249 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.339, allocations: 231.9 kB / 0.9252 GB, free: 38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3392, allocations: 114.4 kB / 0.9253 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.3392, allocations: 4 kB / 0.9253 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3393, allocations: 350.8 kB / 0.9256 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000885/0.3402, allocations: 395.7 kB / 0.926 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/0.3411, allocations: 485 kB / 0.9264 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3428, allocations: 0.8661 MB / 0.9273 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3428, allocations: 4 kB / 0.9273 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00523/0.348, allocations: 1.732 MB / 0.929 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.3481, allocations: 148 kB / 0.9291 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3482, allocations: 0 / 0.9291 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004258/0.3524, allocations: 0.9855 MB / 0.9301 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.3531, allocations: 131.8 kB / 0.9302 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007722/0.3608, allocations: 6.391 MB / 0.9364 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009158/0.3618, allocations: 119.8 kB / 0.9366 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.3619, allocations: 16.06 kB / 0.9366 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3619, allocations: 4 kB / 0.9366 GB, free: 25.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0046/0.3665, allocations: 1.668 MB / 0.9382 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3665, allocations: 0 / 0.9382 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/0.3694, allocations: 0.7291 MB / 0.9389 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.37, allocations: 139.7 kB / 0.9391 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/0.3748, allocations: 5.449 MB / 0.9444 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.3756, allocations: 111.9 kB / 0.9445 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.3757, allocations: 19.98 kB / 0.9445 GB, free: 17.17 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004655/0.3762, allocations: 328.3 kB / 0.9448 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3763, allocations: 35.56 kB / 0.9449 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004813/0.3811, allocations: 1.621 MB / 0.9464 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.3812, allocations: 8 kB / 0.9464 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.3812, allocations: 0 / 0.9464 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3812, allocations: 3.984 kB / 0.9464 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005673/0.3869, allocations: 2.323 MB / 0.9487 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3869, allocations: 0 / 0.9487 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.3873, allocations: 95.98 kB / 0.9488 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/0.391, allocations: 0.9113 MB / 0.9497 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.3911, allocations: 15.98 kB / 0.9497 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006436/0.3975, allocations: 6.235 MB / 0.9558 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3976, allocations: 0 / 0.9558 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004749/0.4023, allocations: 1.643 MB / 0.9574 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.4027, allocations: 184.6 kB / 0.9576 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/0.4028, allocations: 11.94 kB / 0.9576 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.4035, allocations: 87.86 kB / 0.9577 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.4037, allocations: 31.95 kB / 0.9577 GB, free: 3.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.4038, allocations: 15.98 kB / 0.9577 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004981/0.4043, allocations: 315.1 kB / 0.958 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4043, allocations: 3.938 kB / 0.958 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001148/0.4054, allocations: 240 kB / 0.9583 GB, free: 2.527 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004994/0.4104, allocations: 2.215 MB / 0.9604 GB, free: 268 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005364/0.4158, allocations: 2.255 MB / 0.9626 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.416, allocations: 0 / 0.9626 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.4178, allocations: 0.8318 MB / 0.9634 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.419, allocations: 125.9 kB / 0.9636 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.4374, allocations: 7.474 MB / 0.9708 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.4382, allocations: 0.9297 MB / 0.9718 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006727/0.4389, allocations: 167.2 kB / 0.9719 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.4392, allocations: 135.4 kB / 0.972 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of SimCode: time 1.923e-06/0.4392, allocations: 0 / 0.972 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.4807, allocations: 18 MB / 0.9896 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003758/0.4812, allocations: 275.7 kB / 0.9899 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.083, allocations: 0 / 0.9899 GB, free: 1.938 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)