Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.66/2.66, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 184.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009786/0.0009781, allocations: 93.22 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004723, allocations: 12.66 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05452/0.2663, allocations: 37.42 MB / 1.015 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03562/0.302, allocations: 14.41 MB / 1.029 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004799/0.3069, allocations: 159.1 kB / 1.029 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004249/0.3112, allocations: 0.841 MB / 1.03 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009524/0.3207, allocations: 2.32 MB / 1.032 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.3319, allocations: 1.911 MB / 1.034 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03198/0.364, allocations: 12.66 MB / 1.047 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05228/0.4163, allocations: 13.97 MB / 1.06 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009452/0.4258, allocations: 3.552 MB / 1.064 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/0.4378, allocations: 4.637 MB / 1.068 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.6321/1.07, allocations: 394.7 kB / 1.069 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006333/1.076, allocations: 0.8828 MB / 1.069 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.007739/1.084, allocations: 2.962 MB / 1.072 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005433/1.09, allocations: 1.384 MB / 1.074 GB, free: 25.37 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02262/1.112, allocations: 11.76 MB / 1.085 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.112, allocations: 0 / 1.085 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.106e-06/1.112, allocations: 0 / 1.085 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000523/1.113, allocations: 3.312 kB / 1.085 GB, free: 24.87 MB / 0.6823 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.03034/1.143, allocations: 6.22 MB / 1.091 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/1.143, allocations: 12.67 kB / 1.091 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005645/1.149, allocations: 0.8896 MB / 1.092 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/1.167, allocations: 1.522 MB / 1.094 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/1.184, allocations: 4.1 MB / 1.098 GB, free: 21.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007697/1.185, allocations: 456.8 kB / 1.098 GB, free: 21.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004347/1.189, allocations: 0.5971 MB / 1.099 GB, free: 21.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04183/1.231, allocations: 10.63 MB / 1.109 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006337/1.232, allocations: 35.23 kB / 1.109 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004039/1.236, allocations: 257.9 kB / 1.109 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005392/1.241, allocations: 0.7761 MB / 1.11 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/1.272, allocations: 8.513 MB / 1.118 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/1.373, allocations: 46.97 MB / 1.164 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.385, allocations: 4.305 MB / 1.168 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0149/1.4, allocations: 3.675 MB / 1.172 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008181/1.401, allocations: 34.38 kB / 1.172 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/1.401, allocations: 76.75 kB / 1.172 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 7.263e-06/1.401, allocations: 0 / 1.172 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 0.9985/2.4, allocations: 127.9 MB / 1.297 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/2.4, allocations: 114.5 kB / 1.297 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005793/2.406, allocations: 2.657 MB / 1.3 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/2.407, allocations: 121.7 kB / 1.3 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002663/2.41, allocations: 2.678 MB / 1.302 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003735/2.414, allocations: 1.954 MB / 1.304 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007808/2.414, allocations: 108 kB / 1.304 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004406/2.415, allocations: 0.5296 MB / 1.305 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0111/2.426, allocations: 4.056 MB / 1.309 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/2.439, allocations: 4.997 MB / 1.314 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/2.452, allocations: 4.814 MB / 1.318 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/2.452, allocations: 8 kB / 1.318 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.07127/2.524, allocations: 16.91 MB / 1.335 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/2.524, allocations: 16 kB / 1.335 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.295e-05/2.524, allocations: 24 kB / 1.335 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06051/2.584, allocations: 9.06 MB / 1.344 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/2.589, allocations: 0.5158 MB / 1.344 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2077/2.797, allocations: 70.61 MB / 1.413 GB, free: 3.359 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008697/2.806, allocations: 287.8 kB / 1.414 GB, free: 3.078 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/2.808, allocations: 184 kB / 1.414 GB, free: 2.898 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009567/2.817, allocations: 2.423 MB / 1.416 GB, free: 0.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002629/2.82, allocations: 470.5 kB / 1.417 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.763/3.583, allocations: 16.75 MB / 1.433 GB, free: 337.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/3.583, allocations: 55.19 kB / 1.433 GB, free: 337.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000299/3.584, allocations: 73.88 kB / 1.433 GB, free: 337.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001702/3.584, allocations: 27.58 kB / 1.433 GB, free: 337.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1038/3.688, allocations: 25.62 MB / 1.458 GB, free: 332.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001096/3.688, allocations: 7.344 kB / 1.458 GB, free: 332.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/3.691, allocations: 319 kB / 1.458 GB, free: 332.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05378/3.745, allocations: 8.264 MB / 1.467 GB, free: 330.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00175/3.747, allocations: 105.7 kB / 1.467 GB, free: 330.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1567/3.904, allocations: 67.46 MB / 1.533 GB, free: 284.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/3.904, allocations: 8 kB / 1.533 GB, free: 284.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07397/3.978, allocations: 21.48 MB / 1.553 GB, free: 262.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005822/3.984, allocations: 1.358 MB / 1.555 GB, free: 261.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00313/3.987, allocations: 104 kB / 1.555 GB, free: 261.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008198/3.995, allocations: 291.6 kB / 1.555 GB, free: 261 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003287/3.998, allocations: 0.5222 MB / 1.556 GB, free: 260.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001568/4, allocations: 140 kB / 1.556 GB, free: 260.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004372/4.005, allocations: 1.753 MB / 1.558 GB, free: 258.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.01e-07/4.005, allocations: 0 / 1.558 GB, free: 258.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01505/4.02, allocations: 2.441 MB / 1.56 GB, free: 256.2 MB / 0.9636 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07681/4.096, allocations: 22.19 MB / 1.582 GB, free: 233.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04339/4.14, allocations: 14.49 MB / 1.596 GB, free: 219 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/4.14, allocations: 4 kB / 1.596 GB, free: 219 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.03127/4.171, allocations: 9.369 MB / 1.605 GB, free: 209.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01323/4.185, allocations: 1.279 MB / 1.606 GB, free: 208.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1705/4.355, allocations: 55.84 MB / 1.661 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/4.367, allocations: 4.896 MB / 1.665 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004982/4.372, allocations: 0.7449 MB / 1.666 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005949/4.378, allocations: 2.6 MB / 1.669 GB, free: 142 MB / 0.9636 GB Notification: Performance of SimCode: time 1.403e-06/4.378, allocations: 0 / 1.669 GB, free: 142 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/5.548, allocations: 185.8 MB / 1.85 GB, free: 311.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/5.548, allocations: 239.8 kB / 1.85 GB, free: 311.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.417/14.97, allocations: 0 / 1.85 GB, free: 311.2 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)