Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.0007993/0.0007995, allocations: 91.84 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.004782/0.004782, allocations: 170 kB / 16.26 MB, free: 6.613 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.176/1.176, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.494/1.494, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0007636/0.0007637, allocations: 21.52 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1969, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0295/0.2265, allocations: 29.63 MB / 0.8169 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.2461, allocations: 13.47 MB / 0.8301 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.2495, allocations: 123.2 kB / 0.8302 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.252, allocations: 0.6512 MB / 0.8308 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.2596, allocations: 2.484 MB / 0.8333 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.2641, allocations: 1.704 MB / 0.8349 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.2757, allocations: 10.43 MB / 0.8451 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01544/0.2912, allocations: 10.17 MB / 0.8551 GB, free: 6.527 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/0.2973, allocations: 2.584 MB / 0.8576 GB, free: 3.934 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.3029, allocations: 2.954 MB / 0.8605 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001371/0.3043, allocations: 244 kB / 0.8607 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.3081, allocations: 1.373 MB / 0.862 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0033/0.3114, allocations: 1.921 MB / 0.8639 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004823/0.3163, allocations: 2.384 MB / 0.8662 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.3266, allocations: 9.017 MB / 0.875 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3267, allocations: 0 / 0.875 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3267, allocations: 0 / 0.875 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002058/0.3269, allocations: 4 kB / 0.875 GB, free: 1.977 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.008222/0.3351, allocations: 4.15 MB / 0.8791 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3352, allocations: 8.031 kB / 0.8791 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001389/0.3366, allocations: 0.6203 MB / 0.8797 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005861/0.3424, allocations: 0.998 MB / 0.8807 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006151/0.3486, allocations: 2.896 MB / 0.8835 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.349, allocations: 316.8 kB / 0.8838 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.3507, allocations: 419.8 kB / 0.8842 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.3637, allocations: 6.795 MB / 0.8909 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.3639, allocations: 19.83 kB / 0.8909 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.3643, allocations: 184 kB / 0.8911 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008946/0.3652, allocations: 380 kB / 0.8914 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008557/0.3738, allocations: 5.11 MB / 0.8964 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4271/0.801, allocations: 30.78 MB / 0.9265 GB, free: 112 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.8033, allocations: 1.389 MB / 0.9278 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.8051, allocations: 1.326 MB / 0.9291 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.8052, allocations: 15.11 kB / 0.9291 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.8053, allocations: 59.19 kB / 0.9292 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.316e-06/0.8053, allocations: 0 / 0.9292 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.0856/0.8909, allocations: 22.8 MB / 0.9514 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.891, allocations: 72.66 kB / 0.9515 GB, free: 109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/0.8937, allocations: 2.054 MB / 0.9535 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003333/0.8941, allocations: 69.53 kB / 0.9536 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.8951, allocations: 2.017 MB / 0.9556 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005754/0.8957, allocations: 0.6756 MB / 0.9562 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.8959, allocations: 185.4 kB / 0.9564 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.896, allocations: 305.1 kB / 0.9567 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.8978, allocations: 1.433 MB / 0.9581 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.8997, allocations: 2.009 MB / 0.9601 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.9036, allocations: 3.694 MB / 0.9637 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.9036, allocations: 6 kB / 0.9637 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009583/0.9132, allocations: 5.657 MB / 0.9692 GB, free: 97.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.9132, allocations: 19.12 kB / 0.9692 GB, free: 97.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.9133, allocations: 15.12 kB / 0.9692 GB, free: 97.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005822/0.9191, allocations: 2.078 MB / 0.9712 GB, free: 96.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.9205, allocations: 374.4 kB / 0.9716 GB, free: 95.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02698/0.9475, allocations: 35.55 MB / 1.006 GB, free: 59.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.95, allocations: 131.9 kB / 1.006 GB, free: 59.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/0.9503, allocations: 92 kB / 1.007 GB, free: 59.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002413/0.9527, allocations: 1.503 MB / 1.008 GB, free: 57.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/0.9532, allocations: 280.8 kB / 1.008 GB, free: 57.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/0.9619, allocations: 5.22 MB / 1.013 GB, free: 52.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.9619, allocations: 20 kB / 1.013 GB, free: 52.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-05/0.962, allocations: 16 kB / 1.013 GB, free: 52.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.962, allocations: 11.97 kB / 1.013 GB, free: 52.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.977, allocations: 9.688 MB / 1.023 GB, free: 42.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.9771, allocations: 8 kB / 1.023 GB, free: 42.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.9779, allocations: 212.3 kB / 1.023 GB, free: 42.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005127/0.983, allocations: 1.843 MB / 1.025 GB, free: 40.13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.9832, allocations: 44 kB / 1.025 GB, free: 40.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02553/1.009, allocations: 34.56 MB / 1.059 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.009, allocations: 8 kB / 1.059 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008271/1.017, allocations: 4.918 MB / 1.063 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.019, allocations: 0.6148 MB / 1.064 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/1.02, allocations: 43.98 kB / 1.064 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.021, allocations: 127.8 kB / 1.064 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005949/1.022, allocations: 191.5 kB / 1.064 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.022, allocations: 56 kB / 1.064 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001858/1.024, allocations: 1.378 MB / 1.066 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.024, allocations: 4 kB / 1.066 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004585/1.028, allocations: 1.047 MB / 1.067 GB, free: 10.61 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009646/1.038, allocations: 5.527 MB / 1.072 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.048, allocations: 6.281 MB / 1.078 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.048, allocations: 0 / 1.078 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006651/1.055, allocations: 4.403 MB / 1.083 GB, free: 9.793 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006544/1.061, allocations: 0.9167 MB / 1.084 GB, free: 8.898 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06198/1.123, allocations: 35.96 MB / 1.119 GB, free: 2.461 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/1.127, allocations: 3.125 MB / 1.122 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002129/1.129, allocations: 0.5159 MB / 1.122 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00215/1.132, allocations: 1.671 MB / 1.124 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of SimCode: time 1.122e-06/1.132, allocations: 0 / 1.124 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1387/1.27, allocations: 85.73 MB / 1.208 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.271, allocations: 242.7 kB / 1.208 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.739/5.009, allocations: 7.594 kB / 1.208 GB, free: 8.191 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)