Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007496/0.0007497, allocations: 91.53 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00425/0.00425, allocations: 171.3 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.4 MB / 222.5 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005093, allocations: 12.78 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004859/0.2231, allocations: 4.772 MB / 0.7927 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004422/0.2275, allocations: 3.733 MB / 0.7963 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2277, allocations: 15.94 kB / 0.7963 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.2284, allocations: 231 kB / 0.7965 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007667/0.2291, allocations: 417.9 kB / 0.7969 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.2296, allocations: 243.5 kB / 0.7972 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009319/0.2306, allocations: 0.9115 MB / 0.7981 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2317, allocations: 0.8294 MB / 0.7989 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.232, allocations: 307 kB / 0.7992 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.2324, allocations: 263 kB / 0.7994 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.2324, allocations: 16 kB / 0.7994 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.2329, allocations: 327.4 kB / 0.7998 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.233, allocations: 135.5 kB / 0.7999 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.2332, allocations: 232.6 kB / 0.8001 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.2339, allocations: 0.8177 MB / 0.8009 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2339, allocations: 0 / 0.8009 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2339, allocations: 0 / 0.8009 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2339, allocations: 0 / 0.8009 GB, free: 14.15 MB / 0.6231 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.00107/0.235, allocations: 0.7325 MB / 0.8016 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.235, allocations: 8.031 kB / 0.8016 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.911e-05/0.2351, allocations: 70.72 kB / 0.8017 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.2378, allocations: 0.6867 MB / 0.8024 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.2384, allocations: 464.3 kB / 0.8028 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2384, allocations: 21.03 kB / 0.8028 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.2385, allocations: 35.92 kB / 0.8029 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.2399, allocations: 0.8317 MB / 0.8037 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.24, allocations: 0 / 0.8037 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.24, allocations: 12 kB / 0.8037 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.2402, allocations: 60.58 kB / 0.8037 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.2421, allocations: 0.9351 MB / 0.8047 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.2455, allocations: 2.886 MB / 0.8075 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.2471, allocations: 0.559 MB / 0.808 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.2478, allocations: 312.6 kB / 0.8083 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/0.2479, allocations: 89.09 kB / 0.8084 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.248, allocations: 34.56 kB / 0.8084 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.248, allocations: 0 / 0.8084 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.01304/0.261, allocations: 3.915 MB / 0.8123 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.2611, allocations: 71.19 kB / 0.8123 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.2615, allocations: 429.5 kB / 0.8127 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.2615, allocations: 29.7 kB / 0.8128 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2617, allocations: 244.1 kB / 0.813 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2618, allocations: 122.2 kB / 0.8131 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.2619, allocations: 37.7 kB / 0.8131 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.262, allocations: 350.8 kB / 0.8135 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009227/0.2629, allocations: 436.5 kB / 0.8139 GB, free: 380 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/0.2639, allocations: 0.4971 MB / 0.8144 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.2657, allocations: 0.9306 MB / 0.8153 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2658, allocations: 3.938 kB / 0.8153 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005463/0.2712, allocations: 1.865 MB / 0.8171 GB, free: 13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/0.2713, allocations: 144.1 kB / 0.8173 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2713, allocations: 0 / 0.8173 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004294/0.2756, allocations: 1.024 MB / 0.8183 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.2762, allocations: 131.8 kB / 0.8184 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1973/0.4736, allocations: 6.2 MB / 0.8244 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/0.4744, allocations: 111.9 kB / 0.8245 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.4745, allocations: 20.08 kB / 0.8246 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.4745, allocations: 7.938 kB / 0.8246 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005285/0.4798, allocations: 1.586 MB / 0.8261 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.4798, allocations: 4 kB / 0.8261 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/0.4829, allocations: 0.7391 MB / 0.8268 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.4835, allocations: 143.8 kB / 0.827 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/0.4905, allocations: 5.406 MB / 0.8323 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.4913, allocations: 107.9 kB / 0.8324 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.4913, allocations: 15.98 kB / 0.8324 GB, free: 12.8 MB / 0.6544 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003695/0.4917, allocations: 336.9 kB / 0.8327 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.4918, allocations: 43.52 kB / 0.8327 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/0.4969, allocations: 1.774 MB / 0.8345 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4969, allocations: 4 kB / 0.8345 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4969, allocations: 4 kB / 0.8345 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4969, allocations: 4.266 kB / 0.8345 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005801/0.5027, allocations: 2.46 MB / 0.8369 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5027, allocations: 3.984 kB / 0.8369 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.5031, allocations: 83.84 kB / 0.837 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/0.5069, allocations: 0.9456 MB / 0.8379 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.5069, allocations: 8 kB / 0.8379 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007877/0.5148, allocations: 5.872 MB / 0.8436 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5148, allocations: 3.984 kB / 0.8436 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/0.5196, allocations: 1.724 MB / 0.8453 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.5198, allocations: 192.5 kB / 0.8455 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.5199, allocations: 4 kB / 0.8455 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.5205, allocations: 103.8 kB / 0.8456 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5206, allocations: 35.89 kB / 0.8456 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.5206, allocations: 12 kB / 0.8457 GB, free: 14.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003188/0.521, allocations: 315.1 kB / 0.846 GB, free: 14.47 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.521, allocations: 3.938 kB / 0.846 GB, free: 14.46 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008815/0.5218, allocations: 260 kB / 0.8462 GB, free: 14.21 MB / 0.67 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005114/0.527, allocations: 2.304 MB / 0.8485 GB, free: 11.86 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005877/0.5329, allocations: 2.485 MB / 0.8509 GB, free: 9.32 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5329, allocations: 4.125 kB / 0.8509 GB, free: 9.316 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.5352, allocations: 0.9615 MB / 0.8518 GB, free: 8.328 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.5358, allocations: 112.9 kB / 0.8519 GB, free: 8.219 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.5517, allocations: 7.903 MB / 0.8597 GB, free: 148 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.5522, allocations: 0.9529 MB / 0.8606 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004854/0.5527, allocations: 143.2 kB / 0.8607 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.553, allocations: 143.4 kB / 0.8609 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of SimCode: time 2.525e-06/0.553, allocations: 0 / 0.8609 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.242/3.794, allocations: 19.48 MB / 0.8799 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/3.795, allocations: 266.9 kB / 0.8801 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/5.618, allocations: 0 / 0.8801 GB, free: 11.39 MB / 0.7012 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)