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_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.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.473/1.473, allocations: 252 MB / 267.3 MB, free: 10.88 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.001083/0.001083, allocations: 184.1 kB / 327 MB, free: 2.113 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.836/1.836, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007868/0.000787, allocations: 83.62 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 9.812 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2583, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03262/0.291, allocations: 39.76 MB / 0.9398 GB, free: 23.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02444/0.3155, allocations: 14.93 MB / 0.9543 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005924/0.3215, allocations: 163.1 kB / 0.9545 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003969/0.3255, allocations: 0.8567 MB / 0.9553 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009624/0.3351, allocations: 2.628 MB / 0.9579 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008702/0.3439, allocations: 2.72 MB / 0.9606 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01976/0.3637, allocations: 15.94 MB / 0.9761 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02829/0.392, allocations: 15.76 MB / 0.9915 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008603/0.4007, allocations: 3.602 MB / 0.995 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.4108, allocations: 4.753 MB / 0.9997 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002595/0.4134, allocations: 396 kB / 1 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006918/0.4203, allocations: 1.829 MB / 1.002 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.007887/0.4283, allocations: 2.993 MB / 1.005 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0118/0.4401, allocations: 3.508 MB / 1.008 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02211/0.4623, allocations: 13.58 MB / 1.021 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4623, allocations: 0 / 1.021 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.075e-06/0.4624, allocations: 0 / 1.021 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005482/0.4629, allocations: 0 / 1.021 GB, free: 3.5 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02124/0.4842, allocations: 6.158 MB / 1.027 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.4843, allocations: 12.03 kB / 1.027 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004382/0.4886, allocations: 0.8916 MB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.5006, allocations: 1.526 MB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.5122, allocations: 4.201 MB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/0.5128, allocations: 456.4 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003223/0.5161, allocations: 0.6017 MB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/0.5463, allocations: 10.69 MB / 1.045 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003882/0.5468, allocations: 31.66 kB / 1.045 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/0.5493, allocations: 267.9 kB / 1.046 GB, free: 10.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003193/0.5525, allocations: 0.769 MB / 1.046 GB, free: 9.355 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.5737, allocations: 8.557 MB / 1.055 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6413/1.215, allocations: 46.97 MB / 1.101 GB, free: 99.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/1.221, allocations: 4.313 MB / 1.105 GB, free: 96.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004736/1.226, allocations: 3.686 MB / 1.108 GB, free: 94.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/1.226, allocations: 34.25 kB / 1.109 GB, free: 94.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.059e-05/1.226, allocations: 78.28 kB / 1.109 GB, free: 94.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 6.031e-06/1.226, allocations: 0 / 1.109 GB, free: 94.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.5074/1.734, allocations: 128.1 MB / 1.234 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.734, allocations: 115.9 kB / 1.234 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/1.739, allocations: 2.681 MB / 1.236 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001234/1.74, allocations: 125.7 kB / 1.237 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00231/1.743, allocations: 2.676 MB / 1.239 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003106/1.746, allocations: 1.953 MB / 1.241 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/1.746, allocations: 112 kB / 1.241 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003302/1.747, allocations: 0.5257 MB / 1.242 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006174/1.753, allocations: 4.079 MB / 1.246 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007366/1.76, allocations: 5.015 MB / 1.251 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/1.778, allocations: 9.844 MB / 1.26 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.565e-05/1.778, allocations: 8 kB / 1.26 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04183/1.82, allocations: 17 MB / 1.277 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/1.82, allocations: 16 kB / 1.277 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/1.82, allocations: 20 kB / 1.277 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03237/1.852, allocations: 9.075 MB / 1.286 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/1.855, allocations: 0.5226 MB / 1.286 GB, free: 248 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1093/1.964, allocations: 70.74 MB / 1.355 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/1.97, allocations: 287.9 kB / 1.356 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.972, allocations: 191.8 kB / 1.356 GB, free: 7.57 MB / 0.8542 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (14,72,51.0%), (6,40,77.8%), (7,71,71.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006956/1.979, allocations: 2.425 MB / 1.358 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/1.981, allocations: 470.5 kB / 1.359 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04203/2.023, allocations: 16.82 MB / 1.375 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-05/2.023, allocations: 59.94 kB / 1.375 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002401/2.023, allocations: 72 kB / 1.375 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001239/2.024, allocations: 27.89 kB / 1.375 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5258/2.549, allocations: 25.68 MB / 1.4 GB, free: 283 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.598e-05/2.549, allocations: 5.656 kB / 1.4 GB, free: 283 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/2.551, allocations: 325.8 kB / 1.401 GB, free: 283 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02781/2.579, allocations: 8.264 MB / 1.409 GB, free: 282.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/2.58, allocations: 103.1 kB / 1.409 GB, free: 282.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1188/2.699, allocations: 67.58 MB / 1.475 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/2.699, allocations: 8 kB / 1.475 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04582/2.745, allocations: 21.57 MB / 1.496 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004173/2.749, allocations: 1.362 MB / 1.497 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00204/2.751, allocations: 112 kB / 1.497 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004809/2.756, allocations: 287.6 kB / 1.497 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002754/2.759, allocations: 0.5221 MB / 1.498 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009244/2.76, allocations: 144 kB / 1.498 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003618/2.764, allocations: 1.776 MB / 1.5 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.62e-07/2.764, allocations: 0 / 1.5 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01115/2.775, allocations: 2.445 MB / 1.502 GB, free: 203.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04491/2.82, allocations: 22.26 MB / 1.524 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02601/2.846, allocations: 14.53 MB / 1.538 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/2.846, allocations: 4 kB / 1.538 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02061/2.867, allocations: 9.386 MB / 1.547 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01155/2.878, allocations: 1.278 MB / 1.549 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1419/3.02, allocations: 82.91 MB / 1.63 GB, free: 67.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004749/3.025, allocations: 4.896 MB / 1.634 GB, free: 62.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002694/3.028, allocations: 0.741 MB / 1.635 GB, free: 62.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002359/3.03, allocations: 2.612 MB / 1.638 GB, free: 59.43 MB / 0.8698 GB Notification: Performance of SimCode: time 6.62e-07/3.03, allocations: 0 / 1.638 GB, free: 59.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7132/3.743, allocations: 187.2 MB / 1.82 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/3.743, allocations: 262.2 kB / 1.821 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/12.22, allocations: 0 / 1.821 GB, free: 204.6 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)