Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001374/0.001374, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 196.5 kB / 16.64 MB, free: 6.453 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.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.594 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.739/1.739, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001449/0.00145, allocations: 67.92 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2402, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04357/0.2838, allocations: 37.55 MB / 0.8203 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.306, allocations: 13.04 MB / 0.833 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004368/0.3104, allocations: 171.1 kB / 0.8332 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01042/0.3208, allocations: 3.884 MB / 0.837 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.3317, allocations: 2.487 MB / 0.8394 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01086/0.3426, allocations: 2.705 MB / 0.8421 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01472/0.3573, allocations: 9.579 MB / 0.8514 GB, free: 7.609 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01488/0.3723, allocations: 10.5 MB / 0.8617 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/0.3825, allocations: 4 MB / 0.8656 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008962/0.3916, allocations: 4.373 MB / 0.8698 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002797/0.3944, allocations: 0.7734 MB / 0.8706 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005457/0.3999, allocations: 1.787 MB / 0.8723 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004454/0.4044, allocations: 3.025 MB / 0.8753 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006109/0.4105, allocations: 3.587 MB / 0.8788 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.4241, allocations: 11.85 MB / 0.8904 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.4241, allocations: 0 / 0.8904 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4241, allocations: 0 / 0.8904 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003869/0.4245, allocations: 0 / 0.8904 GB, free: 15.5 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02023/0.4448, allocations: 6.358 MB / 0.8966 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4448, allocations: 12.03 kB / 0.8966 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002167/0.447, allocations: 0.748 MB / 0.8973 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009035/0.4561, allocations: 1.301 MB / 0.8986 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008774/0.4649, allocations: 3.794 MB / 0.9023 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004135/0.4653, allocations: 386.4 kB / 0.9027 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.4673, allocations: 0.4924 MB / 0.9032 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.4879, allocations: 8.886 MB / 0.9118 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/0.4883, allocations: 23.78 kB / 0.9119 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/0.4902, allocations: 219.9 kB / 0.9121 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.4928, allocations: 0.6382 MB / 0.9127 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/0.5091, allocations: 7.01 MB / 0.9195 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4813/0.9904, allocations: 40.05 MB / 0.9586 GB, free: 91.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.9958, allocations: 2.894 MB / 0.9615 GB, free: 90.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004573/1, allocations: 2.666 MB / 0.9641 GB, free: 89.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/1.001, allocations: 26.25 kB / 0.9641 GB, free: 89.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.355e-05/1.001, allocations: 64.16 kB / 0.9642 GB, free: 89.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 6.923e-06/1.001, allocations: 7.938 kB / 0.9642 GB, free: 89.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2862/1.287, allocations: 74.66 MB / 1.037 GB, free: 29.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.287, allocations: 94.73 kB / 1.037 GB, free: 29.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/1.291, allocations: 2.355 MB / 1.039 GB, free: 26.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/1.292, allocations: 97.7 kB / 1.04 GB, free: 26.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.293, allocations: 2.336 MB / 1.042 GB, free: 24.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.295, allocations: 1.434 MB / 1.043 GB, free: 22.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/1.296, allocations: 0.725 MB / 1.044 GB, free: 22.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/1.296, allocations: 305.1 kB / 1.044 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003447/1.299, allocations: 2.999 MB / 1.047 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/1.303, allocations: 3.843 MB / 1.051 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008545/1.312, allocations: 7.384 MB / 1.058 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/1.312, allocations: 8 kB / 1.058 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02842/1.34, allocations: 12.56 MB / 1.07 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/1.34, allocations: 22.59 kB / 1.07 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/1.34, allocations: 24 kB / 1.07 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02264/1.363, allocations: 6.031 MB / 1.076 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.366, allocations: 491.2 kB / 1.077 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08732/1.453, allocations: 72.97 MB / 1.148 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004382/1.458, allocations: 219.8 kB / 1.148 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/1.458, allocations: 155.9 kB / 1.148 GB, free: 7.023 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003904/1.462, allocations: 2 MB / 1.15 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.463, allocations: 391.4 kB / 1.151 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02789/1.491, allocations: 12.23 MB / 1.163 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/1.491, allocations: 40 kB / 1.163 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002091/1.492, allocations: 48 kB / 1.163 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001237/1.492, allocations: 19.92 kB / 1.163 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0448/1.537, allocations: 19.15 MB / 1.182 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.893e-05/1.537, allocations: 11.94 kB / 1.182 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/1.539, allocations: 292.3 kB / 1.182 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02057/1.559, allocations: 5.571 MB / 1.187 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008763/1.56, allocations: 83.98 kB / 1.187 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08255/1.643, allocations: 70.62 MB / 1.256 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.643, allocations: 15.92 kB / 1.256 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0311/1.674, allocations: 15.61 MB / 1.272 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002912/1.677, allocations: 1.051 MB / 1.273 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.678, allocations: 83.98 kB / 1.273 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.681, allocations: 219.8 kB / 1.273 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001394/1.682, allocations: 398.3 kB / 1.273 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003034/1.682, allocations: 120 kB / 1.273 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002115/1.684, allocations: 1.556 MB / 1.275 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.684, allocations: 0 / 1.275 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.4431/2.127, allocations: 1.859 MB / 1.277 GB, free: 311.3 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03203/2.16, allocations: 16.27 MB / 1.293 GB, free: 309.9 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02418/2.184, allocations: 12.22 MB / 1.305 GB, free: 305.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/2.184, allocations: 4.188 kB / 1.305 GB, free: 305.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01509/2.199, allocations: 8.359 MB / 1.313 GB, free: 300.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005725/2.205, allocations: 1.197 MB / 1.314 GB, free: 300.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1013/2.306, allocations: 53.86 MB / 1.366 GB, free: 268.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006003/2.312, allocations: 4.096 MB / 1.37 GB, free: 264.4 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002466/2.315, allocations: 0.6664 MB / 1.371 GB, free: 263.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/2.317, allocations: 2.124 MB / 1.373 GB, free: 261.7 MB / 0.9512 GB Notification: Performance of SimCode: time 1.183e-06/2.317, allocations: 0 / 1.373 GB, free: 261.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/2.531, allocations: 149.2 MB / 1.519 GB, free: 113.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/20.77, allocations: 11.78 kB / 1.519 GB, free: 113.8 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)