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_N.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_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001169/0.001169, allocations: 182.2 kB / 326.5 MB, free: 2.242 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.897/1.897, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001064/0.001065, allocations: 103.6 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003551, allocations: 13.09 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2195, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.008838/0.2284, allocations: 10.43 MB / 0.9103 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006319/0.2348, allocations: 5.162 MB / 0.9154 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008695/0.2357, allocations: 27.88 kB / 0.9154 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000841/0.2365, allocations: 322.2 kB / 0.9157 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.2378, allocations: 0.5491 MB / 0.9163 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2392, allocations: 0.5948 MB / 0.9168 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.2404, allocations: 1.199 MB / 0.918 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003829/0.2443, allocations: 3.869 MB / 0.9218 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007438/0.245, allocations: 0.6463 MB / 0.9224 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.2457, allocations: 0.7281 MB / 0.9231 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.2459, allocations: 104 kB / 0.9232 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.2465, allocations: 327.6 kB / 0.9235 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.2469, allocations: 0.6782 MB / 0.9242 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.2472, allocations: 368.8 kB / 0.9246 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.249, allocations: 3.238 MB / 0.9277 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.249, allocations: 0 / 0.9277 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.249, allocations: 0 / 0.9277 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.886e-05/0.2491, allocations: 0 / 0.9277 GB, free: 35.45 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.002712/0.2518, allocations: 1.765 MB / 0.9294 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2518, allocations: 16.02 kB / 0.9295 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002886/0.2521, allocations: 264.7 kB / 0.9297 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.2549, allocations: 0.7627 MB / 0.9305 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.2572, allocations: 1.231 MB / 0.9317 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.2573, allocations: 119.2 kB / 0.9318 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.2576, allocations: 163.9 kB / 0.9319 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.2614, allocations: 2.936 MB / 0.9348 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.2614, allocations: 3.938 kB / 0.9348 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.2616, allocations: 71.98 kB / 0.9349 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/0.262, allocations: 203 kB / 0.9351 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/0.2653, allocations: 2.503 MB / 0.9375 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.2756, allocations: 10.89 MB / 0.9481 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2766, allocations: 0.912 MB / 0.949 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/0.2767, allocations: 93.47 kB / 0.9491 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2768, allocations: 38.94 kB / 0.9492 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 3.447e-06/0.2768, allocations: 0 / 0.9492 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.02451/0.3013, allocations: 8.98 MB / 0.9579 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3014, allocations: 81.67 kB / 0.958 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3024, allocations: 0.9415 MB / 0.9589 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.3025, allocations: 37.7 kB / 0.959 GB, free: 2.195 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.3029, allocations: 0.7736 MB / 0.9597 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.303, allocations: 248.5 kB / 0.96 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.3031, allocations: 24 kB / 0.96 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.3032, allocations: 398.7 kB / 0.9604 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.3042, allocations: 0.795 MB / 0.9611 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.3056, allocations: 1.152 MB / 0.9623 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.307, allocations: 0.9946 MB / 0.9632 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.307, allocations: 4 kB / 0.9632 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009451/0.3164, allocations: 3.787 MB / 0.9669 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.3181, allocations: 4.273 MB / 0.9711 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.3182, allocations: 12 kB / 0.9711 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008445/0.3266, allocations: 2.165 MB / 0.9732 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009771/0.3276, allocations: 227.6 kB / 0.9734 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.3432, allocations: 10.66 MB / 0.9839 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.3446, allocations: 199.5 kB / 0.984 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/0.3447, allocations: 47.98 kB / 0.9841 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3448, allocations: 4 kB / 0.9841 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007471/0.3522, allocations: 3.072 MB / 0.9871 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.3523, allocations: 16.06 kB / 0.9871 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005327/0.3576, allocations: 1.357 MB / 0.9884 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.3588, allocations: 295.5 kB / 0.9887 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.3694, allocations: 6.384 MB / 0.995 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.3708, allocations: 171.7 kB / 0.9951 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3709, allocations: 47.98 kB / 0.9952 GB, free: 12.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001789/0.3727, allocations: 0.8947 MB / 0.996 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.373, allocations: 90.92 kB / 0.9961 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009127/0.3821, allocations: 3.32 MB / 0.9994 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.3822, allocations: 8 kB / 0.9994 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3822, allocations: 4 kB / 0.9994 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.3822, allocations: 3.984 kB / 0.9994 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.3946, allocations: 5.489 MB / 1.005 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.3946, allocations: 0 / 1.005 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.3951, allocations: 111.8 kB / 1.005 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007394/0.4025, allocations: 1.978 MB / 1.007 GB, free: 128 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-05/0.4026, allocations: 16 kB / 1.007 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.4167, allocations: 10.06 MB / 1.017 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4167, allocations: 3.938 kB / 1.017 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008356/0.4251, allocations: 3.301 MB / 1.02 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009616/0.4261, allocations: 332 kB / 1.02 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.4262, allocations: 15.95 kB / 1.02 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.4271, allocations: 155.8 kB / 1.02 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.4275, allocations: 60.47 kB / 1.02 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.4275, allocations: 20 kB / 1.02 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001065/0.4286, allocations: 0.6707 MB / 1.021 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4286, allocations: 4 kB / 1.021 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0024/0.431, allocations: 0.6719 MB / 1.022 GB, free: 456 kB / 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.009093/0.4401, allocations: 4.451 MB / 1.026 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007275/0.4474, allocations: 3.902 MB / 1.03 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4475, allocations: 0 / 1.03 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/0.4495, allocations: 1.324 MB / 1.031 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4507, allocations: 244 kB / 1.031 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/0.474, allocations: 18.57 MB / 1.05 GB, free: 3.441 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.4755, allocations: 1.754 MB / 1.051 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001365/0.4769, allocations: 0.5148 MB / 1.052 GB, free: 1.137 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.4775, allocations: 0.4993 MB / 1.052 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/0.4775, allocations: 4 kB / 1.052 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4259/0.9034, allocations: 41.56 MB / 1.093 GB, free: 124.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.9037, allocations: 251.4 kB / 1.093 GB, free: 124.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.558, allocations: 0 / 1.093 GB, free: 124.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)