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.407/1.407, allocations: 252 MB / 267 MB, free: 10.96 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.001137/0.001137, allocations: 186.9 kB / 326.6 MB, free: 2.223 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.977/1.977, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007698/0.0007697, allocations: 92.34 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004761, allocations: 9 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3063, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01174/0.3181, allocations: 10.68 MB / 0.9108 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007979/0.3262, allocations: 5.006 MB / 0.9156 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.3274, allocations: 31.88 kB / 0.9157 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009312/0.3284, allocations: 294 kB / 0.916 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.3298, allocations: 0.5053 MB / 0.9164 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3315, allocations: 472.9 kB / 0.9169 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002904/0.3344, allocations: 2.778 MB / 0.9196 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004721/0.3391, allocations: 3.636 MB / 0.9232 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.3405, allocations: 0.7278 MB / 0.9239 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.3416, allocations: 1.005 MB / 0.9249 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.3418, allocations: 92 kB / 0.9249 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008922/0.3427, allocations: 299.7 kB / 0.9252 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005461/0.3432, allocations: 0.7248 MB / 0.9259 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.3435, allocations: 341 kB / 0.9263 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.3456, allocations: 3.02 MB / 0.9292 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3456, allocations: 4 kB / 0.9292 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3456, allocations: 3.938 kB / 0.9292 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.208e-05/0.3457, allocations: 0 / 0.9292 GB, free: 34.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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002846/0.3485, allocations: 1.632 MB / 0.9308 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3486, allocations: 12.03 kB / 0.9308 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002814/0.3489, allocations: 252.2 kB / 0.9311 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.351, allocations: 485.4 kB / 0.9315 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.3526, allocations: 1.123 MB / 0.9326 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.3527, allocations: 115.1 kB / 0.9327 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.3529, allocations: 155.9 kB / 0.9329 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.3564, allocations: 2.739 MB / 0.9356 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.3564, allocations: 15.83 kB / 0.9356 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.3566, allocations: 63.94 kB / 0.9356 GB, free: 27.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002991/0.3569, allocations: 174.9 kB / 0.9358 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.3599, allocations: 2.284 MB / 0.938 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009025/0.3689, allocations: 10.52 MB / 0.9483 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008106/0.3698, allocations: 0.5819 MB / 0.9489 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.3703, allocations: 380.6 kB / 0.9492 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.3704, allocations: 97.08 kB / 0.9493 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3704, allocations: 38.56 kB / 0.9494 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/0.3704, allocations: 0 / 0.9494 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.0187/0.3891, allocations: 6.274 MB / 0.9555 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3892, allocations: 85.55 kB / 0.9556 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.3905, allocations: 0.8906 MB / 0.9564 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.3907, allocations: 37.7 kB / 0.9565 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/0.3911, allocations: 0.7538 MB / 0.9572 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.3914, allocations: 189.3 kB / 0.9574 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.3914, allocations: 20 kB / 0.9574 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3916, allocations: 390.7 kB / 0.9578 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/0.3925, allocations: 0.6421 MB / 0.9584 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.3936, allocations: 1.003 MB / 0.9594 GB, free: 1.766 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.3948, allocations: 0.8062 MB / 0.9602 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.3948, allocations: 8 kB / 0.9602 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00934/0.4041, allocations: 3.205 MB / 0.9633 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004816/0.4047, allocations: 439.3 kB / 0.9637 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.4047, allocations: 8 kB / 0.9637 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008279/0.413, allocations: 1.856 MB / 0.9656 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4141, allocations: 231.6 kB / 0.9658 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/0.4299, allocations: 10.21 MB / 0.9758 GB, free: 284 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4315, allocations: 175.6 kB / 0.9759 GB, free: 108 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.4318, allocations: 40 kB / 0.976 GB, free: 68 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4318, allocations: 4 kB / 0.976 GB, free: 64 kB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007604/0.4394, allocations: 2.626 MB / 0.9785 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/0.4395, allocations: 12 kB / 0.9785 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/0.445, allocations: 1.207 MB / 0.9797 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4462, allocations: 251.5 kB / 0.98 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/0.4545, allocations: 5.539 MB / 0.9854 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.4561, allocations: 147.7 kB / 0.9855 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.4564, allocations: 40 kB / 0.9855 GB, free: 5.965 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 (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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001816/0.4582, allocations: 0.8445 MB / 0.9864 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.4585, allocations: 79.16 kB / 0.9864 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008408/0.4669, allocations: 2.688 MB / 0.9891 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.467, allocations: 4 kB / 0.9891 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.467, allocations: 4.062 kB / 0.9891 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.467, allocations: 7.984 kB / 0.9891 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.4789, allocations: 4.628 MB / 0.9936 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.479, allocations: 7.938 kB / 0.9936 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.4795, allocations: 95.86 kB / 0.9937 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007313/0.4868, allocations: 1.704 MB / 0.9954 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.487, allocations: 8 kB / 0.9954 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.501, allocations: 9.769 MB / 1.005 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5011, allocations: 7.891 kB / 1.005 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008468/0.5095, allocations: 2.644 MB / 1.008 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007845/0.5104, allocations: 284.1 kB / 1.008 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.5107, allocations: 16 kB / 1.008 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5117, allocations: 131.7 kB / 1.008 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/0.512, allocations: 55.83 kB / 1.008 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.5121, allocations: 16 kB / 1.008 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001316/0.5134, allocations: 0.6356 MB / 1.009 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5134, allocations: 0 / 1.009 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00285/0.5163, allocations: 0.582 MB / 1.009 GB, free: 12.98 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 (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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008657/0.525, allocations: 3.241 MB / 1.012 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005864/0.5309, allocations: 3.235 MB / 1.015 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.5309, allocations: 0 / 1.015 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.533, allocations: 1.273 MB / 1.017 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.5346, allocations: 218 kB / 1.017 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/0.5583, allocations: 9.837 MB / 1.027 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.5605, allocations: 1.618 MB / 1.028 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001548/0.5621, allocations: 494.3 kB / 1.029 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/0.5628, allocations: 495.2 kB / 1.029 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of SimCode: time 1.794e-06/0.5629, allocations: 0 / 1.029 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5419/1.105, allocations: 34.39 MB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.105, allocations: 263.5 kB / 1.063 GB, free: 139.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.759, allocations: 0 / 1.063 GB, free: 139.3 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)