Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001297/0.001298, allocations: 192 kB / 16.14 MB, free: 6.664 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.268/1.268, allocations: 205.1 MB / 222 MB, free: 4.746 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.634/1.634, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001378/0.001378, allocations: 70.75 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.182, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04116/0.2232, allocations: 40.75 MB / 0.8226 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.246, allocations: 15.05 MB / 0.8373 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003927/0.25, allocations: 171.1 kB / 0.8375 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009897/0.2599, allocations: 4.137 MB / 0.8415 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006928/0.2668, allocations: 2.636 MB / 0.8441 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007586/0.2745, allocations: 2.898 MB / 0.8469 GB, free: 12.06 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01702/0.2915, allocations: 16.01 MB / 0.8625 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01849/0.31, allocations: 13.64 MB / 0.8759 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006749/0.3168, allocations: 4.11 MB / 0.8799 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009006/0.3259, allocations: 5.483 MB / 0.8852 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.00251/0.3284, allocations: 0.6133 MB / 0.8858 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005469/0.3339, allocations: 2.036 MB / 0.8878 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005094/0.339, allocations: 3.356 MB / 0.8911 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007409/0.3464, allocations: 3.92 MB / 0.8949 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.3608, allocations: 14.03 MB / 0.9086 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3608, allocations: 0 / 0.9086 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3608, allocations: 0 / 0.9086 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003503/0.3612, allocations: 0 / 0.9086 GB, free: 12.58 MB / 0.7325 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.01771/0.3789, allocations: 7.6 MB / 0.916 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.379, allocations: 8.031 kB / 0.9161 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002139/0.3811, allocations: 0.8916 MB / 0.9169 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/0.391, allocations: 1.518 MB / 0.9184 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3354/0.7265, allocations: 4.209 MB / 0.9225 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/0.727, allocations: 456.3 kB / 0.923 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/0.729, allocations: 0.5932 MB / 0.9235 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.7491, allocations: 10.68 MB / 0.934 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/0.7493, allocations: 27.95 kB / 0.934 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008186/0.7501, allocations: 267.2 kB / 0.9343 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/0.7526, allocations: 0.7699 MB / 0.935 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.771, allocations: 8.559 MB / 0.9434 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04911/0.8201, allocations: 46.86 MB / 0.9891 GB, free: 74.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/0.8255, allocations: 4.314 MB / 0.9933 GB, free: 72.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/0.8299, allocations: 3.704 MB / 0.997 GB, free: 68.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.8302, allocations: 38.78 kB / 0.997 GB, free: 68.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.8303, allocations: 69.34 kB / 0.9971 GB, free: 68.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 4.589e-06/0.8303, allocations: 0 / 0.9971 GB, free: 68.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4678/1.298, allocations: 122.7 MB / 1.117 GB, free: 9.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/1.298, allocations: 111.9 kB / 1.117 GB, free: 9.215 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004638/1.303, allocations: 2.681 MB / 1.12 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.304, allocations: 121.7 kB / 1.12 GB, free: 6.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002012/1.306, allocations: 2.681 MB / 1.122 GB, free: 3.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002804/1.309, allocations: 1.949 MB / 1.124 GB, free: 1.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003449/1.312, allocations: 0.9248 MB / 1.125 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.312, allocations: 309.1 kB / 1.125 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006832/1.319, allocations: 4.083 MB / 1.129 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007706/1.327, allocations: 5.015 MB / 1.134 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/1.343, allocations: 9.848 MB / 1.144 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-05/1.343, allocations: 8 kB / 1.144 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04282/1.386, allocations: 17 MB / 1.161 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.386, allocations: 12 kB / 1.161 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.123e-05/1.386, allocations: 27.98 kB / 1.161 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03229/1.419, allocations: 9.078 MB / 1.169 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/1.421, allocations: 0.5226 MB / 1.17 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1004/1.521, allocations: 70.51 MB / 1.239 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.526, allocations: 287.9 kB / 1.239 GB, free: 9.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007568/1.527, allocations: 184 kB / 1.239 GB, free: 9.613 MB / 0.92 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,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.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.004391/1.531, allocations: 2.426 MB / 1.242 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.533, allocations: 474.4 kB / 1.242 GB, free: 6.707 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03786/1.57, allocations: 16.82 MB / 1.259 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.681e-05/1.571, allocations: 56 kB / 1.259 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002353/1.571, allocations: 75.94 kB / 1.259 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/1.571, allocations: 31.83 kB / 1.259 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4429/2.014, allocations: 25.65 MB / 1.284 GB, free: 311.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.906e-05/2.014, allocations: 11.56 kB / 1.284 GB, free: 311.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/2.016, allocations: 316.5 kB / 1.284 GB, free: 311.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02812/2.044, allocations: 8.277 MB / 1.292 GB, free: 311 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009709/2.045, allocations: 107.3 kB / 1.292 GB, free: 311 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07983/2.125, allocations: 67.39 MB / 1.358 GB, free: 277.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.125, allocations: 7.344 kB / 1.358 GB, free: 277.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03633/2.161, allocations: 21.57 MB / 1.379 GB, free: 262.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002917/2.164, allocations: 1.362 MB / 1.38 GB, free: 261.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/2.165, allocations: 104 kB / 1.381 GB, free: 261.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003329/2.168, allocations: 287.7 kB / 1.381 GB, free: 261.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/2.17, allocations: 0.5221 MB / 1.381 GB, free: 260.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003954/2.171, allocations: 144.8 kB / 1.381 GB, free: 260.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002078/2.173, allocations: 1.776 MB / 1.383 GB, free: 258.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/2.173, allocations: 0 / 1.383 GB, free: 258.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0074/2.18, allocations: 2.465 MB / 1.386 GB, free: 256.2 MB / 0.9512 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.0369/2.217, allocations: 22.28 MB / 1.407 GB, free: 233.6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0216/2.239, allocations: 14.47 MB / 1.422 GB, free: 218.9 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/2.239, allocations: 4 kB / 1.422 GB, free: 218.9 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0152/2.254, allocations: 9.361 MB / 1.431 GB, free: 209.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005684/2.26, allocations: 1.278 MB / 1.432 GB, free: 208.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1257/2.385, allocations: 82.76 MB / 1.513 GB, free: 121.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005441/2.391, allocations: 4.897 MB / 1.518 GB, free: 116.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002689/2.394, allocations: 0.7449 MB / 1.518 GB, free: 115.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002597/2.396, allocations: 2.608 MB / 1.521 GB, free: 112.8 MB / 0.9512 GB Notification: Performance of SimCode: time 1.122e-06/2.396, allocations: 0 / 1.521 GB, free: 112.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5783/2.975, allocations: 191.8 MB / 1.708 GB, free: 286 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/2.975, allocations: 246 kB / 1.708 GB, free: 285.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.754/8.729, allocations: 4 kB / 1.708 GB, free: 285.8 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)