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.ACLine_RLC.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.ACLine_RLC,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009003/0.0009003, allocations: 175.3 kB / 325.9 MB, free: 2.688 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.328/1.328, allocations: 205 MB / 0.576 GB, free: 21 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.0007265/0.0007265, allocations: 90.92 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8.812 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02469/0.1765, allocations: 36.85 MB / 0.9322 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1911, allocations: 13.01 MB / 0.9449 GB, free: 18.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.1938, allocations: 155.1 kB / 0.9451 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.006742/0.2006, allocations: 3.592 MB / 0.9486 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.2056, allocations: 2.345 MB / 0.9509 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004712/0.2104, allocations: 2.48 MB / 0.9533 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.2204, allocations: 13.31 MB / 0.9663 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01484/0.2353, allocations: 11.63 MB / 0.9776 GB, free: 380 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.2399, allocations: 2.999 MB / 0.9806 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004693/0.2446, allocations: 3.861 MB / 0.9843 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008111/0.2454, allocations: 320 kB / 0.9846 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.2486, allocations: 1.638 MB / 0.9862 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002542/0.2511, allocations: 2.459 MB / 0.9886 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003469/0.2546, allocations: 2.915 MB / 0.9915 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.265, allocations: 11.28 MB / 1.002 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.265, allocations: 4 kB / 1.003 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/0.265, allocations: 0 / 1.003 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002493/0.2653, allocations: 0 / 1.003 GB, free: 6.816 MB / 0.6511 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.01167/0.277, allocations: 5.142 MB / 1.008 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.277, allocations: 8.031 kB / 1.008 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00161/0.2787, allocations: 0.7519 MB / 1.008 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007527/0.2862, allocations: 1.297 MB / 1.01 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.2922, allocations: 3.568 MB / 1.013 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.2925, allocations: 382.5 kB / 1.013 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009269/0.2934, allocations: 0.4924 MB / 1.014 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.3085, allocations: 8.898 MB / 1.023 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.3087, allocations: 27.72 kB / 1.023 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005963/0.3093, allocations: 219.9 kB / 1.023 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/0.3112, allocations: 0.6343 MB / 1.023 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.3229, allocations: 7.014 MB / 1.03 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3483/0.6712, allocations: 40.39 MB / 1.07 GB, free: 121.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/0.6754, allocations: 2.903 MB / 1.073 GB, free: 121.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/0.6788, allocations: 2.66 MB / 1.075 GB, free: 121.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.679, allocations: 28.62 kB / 1.075 GB, free: 121.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.6791, allocations: 64.02 kB / 1.075 GB, free: 121.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 4.127e-06/0.6791, allocations: 0 / 1.075 GB, free: 121.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.2521/0.9312, allocations: 77.51 MB / 1.151 GB, free: 63.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.9313, allocations: 98.73 kB / 1.151 GB, free: 63.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.9336, allocations: 2.352 MB / 1.153 GB, free: 61.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000463/0.934, allocations: 101.7 kB / 1.153 GB, free: 61.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008707/0.9349, allocations: 2.338 MB / 1.156 GB, free: 58.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009659/0.9359, allocations: 1.434 MB / 1.157 GB, free: 57.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.9363, allocations: 339 kB / 1.157 GB, free: 56.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.9364, allocations: 301.1 kB / 1.158 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.9396, allocations: 2.999 MB / 1.161 GB, free: 53.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003781/0.9434, allocations: 3.843 MB / 1.164 GB, free: 49.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.955, allocations: 7.391 MB / 1.172 GB, free: 41.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.955, allocations: 8 kB / 1.172 GB, free: 41.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02743/0.9825, allocations: 12.55 MB / 1.184 GB, free: 29.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.9825, allocations: 16 kB / 1.184 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.9826, allocations: 20 kB / 1.184 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02043/1.003, allocations: 6.026 MB / 1.19 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/1.005, allocations: 495.2 kB / 1.19 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07257/1.077, allocations: 67.29 MB / 1.256 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/1.081, allocations: 215.9 kB / 1.256 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004505/1.082, allocations: 156 kB / 1.256 GB, free: 15.67 MB / 0.7605 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.00342/1.085, allocations: 1.996 MB / 1.258 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008022/1.086, allocations: 391.4 kB / 1.259 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02696/1.113, allocations: 12.23 MB / 1.271 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/1.113, allocations: 40 kB / 1.271 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/1.113, allocations: 48 kB / 1.271 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.029e-05/1.113, allocations: 23.92 kB / 1.271 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03879/1.152, allocations: 19.17 MB / 1.289 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.733e-05/1.152, allocations: 11.94 kB / 1.289 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/1.153, allocations: 287.5 kB / 1.29 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0206/1.174, allocations: 5.577 MB / 1.295 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006977/1.175, allocations: 80 kB / 1.295 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0744/1.249, allocations: 64.9 MB / 1.359 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/1.249, allocations: 15.92 kB / 1.359 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02996/1.279, allocations: 15.62 MB / 1.374 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/1.282, allocations: 1.039 MB / 1.375 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006822/1.282, allocations: 87.98 kB / 1.375 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.285, allocations: 215.7 kB / 1.375 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/1.286, allocations: 402.2 kB / 1.376 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000305/1.286, allocations: 108 kB / 1.376 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002051/1.288, allocations: 1.553 MB / 1.377 GB, free: 120 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.288, allocations: 4 kB / 1.377 GB, free: 116 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.377/1.665, allocations: 1.842 MB / 1.379 GB, free: 279.1 MB / 0.8698 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.03232/1.698, allocations: 16.3 MB / 1.395 GB, free: 277.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01891/1.717, allocations: 12.18 MB / 1.407 GB, free: 274.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.717, allocations: 0 / 1.407 GB, free: 274.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01434/1.731, allocations: 8.386 MB / 1.415 GB, free: 270.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007184/1.738, allocations: 1.107 MB / 1.416 GB, free: 270.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09799/1.836, allocations: 62.65 MB / 1.477 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004046/1.84, allocations: 4.09 MB / 1.481 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002452/1.843, allocations: 0.663 MB / 1.482 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/1.845, allocations: 2.128 MB / 1.484 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/1.845, allocations: 4 kB / 1.484 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5927/2.438, allocations: 144.3 MB / 1.625 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/2.438, allocations: 263.9 kB / 1.625 GB, free: 71.11 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.165/8.603, allocations: 4 kB / 1.625 GB, free: 71.11 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)