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.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,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 1.553/1.553, allocations: 287.4 MB / 302.6 MB, free: 8.23 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.001022/0.001022, allocations: 188.9 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0007663/0.0007663, allocations: 101.4 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003985, allocations: 11.59 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2408, allocations: 115.3 MB / 0.9788 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02933/0.2702, allocations: 34.17 MB / 1.012 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0202/0.2904, allocations: 12.44 MB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/0.2947, allocations: 147.1 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.2977, allocations: 0.7402 MB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007397/0.3052, allocations: 2.052 MB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005681/0.3109, allocations: 1.626 MB / 1.029 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.3243, allocations: 10.7 MB / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02166/0.346, allocations: 13.02 MB / 1.052 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006862/0.3529, allocations: 2.953 MB / 1.055 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0082/0.3611, allocations: 3.765 MB / 1.058 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002477/0.3636, allocations: 320 kB / 1.059 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005163/0.3688, allocations: 0.7727 MB / 1.06 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005365/0.3742, allocations: 2.435 MB / 1.062 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004096/0.3783, allocations: 1.175 MB / 1.063 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5258/0.9041, allocations: 9.718 MB / 1.073 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.9042, allocations: 3.469 kB / 1.073 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.827e-06/0.9042, allocations: 0 / 1.073 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004487/0.9046, allocations: 3.531 kB / 1.073 GB, free: 28.43 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01534/0.92, allocations: 5.141 MB / 1.078 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.92, allocations: 9.625 kB / 1.078 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003474/0.9235, allocations: 0.751 MB / 1.078 GB, free: 26.28 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009194/0.9327, allocations: 1.297 MB / 1.08 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.9457, allocations: 3.571 MB / 1.083 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006337/0.9464, allocations: 380.7 kB / 1.083 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003686/0.9501, allocations: 0.4928 MB / 1.084 GB, free: 25.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/0.9797, allocations: 8.853 MB / 1.093 GB, free: 24.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.98, allocations: 24.27 kB / 1.093 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009395/0.9809, allocations: 222.6 kB / 1.093 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002814/0.9838, allocations: 0.6307 MB / 1.093 GB, free: 24.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/1.005, allocations: 6.976 MB / 1.1 GB, free: 24.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06798/1.073, allocations: 40.4 MB / 1.14 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005966/1.079, allocations: 2.886 MB / 1.142 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005439/1.084, allocations: 2.661 MB / 1.145 GB, free: 11.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004777/1.085, allocations: 30.38 kB / 1.145 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/1.085, allocations: 78.09 kB / 1.145 GB, free: 11.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 8.636e-06/1.085, allocations: 0 / 1.145 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.3094/1.394, allocations: 77.44 MB / 1.221 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.395, allocations: 98.73 kB / 1.221 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/1.4, allocations: 2.332 MB / 1.223 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001195/1.401, allocations: 97.7 kB / 1.223 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.403, allocations: 2.329 MB / 1.226 GB, free: 4.121 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002645/1.406, allocations: 1.442 MB / 1.227 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009503/1.407, allocations: 84 kB / 1.227 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003967/1.407, allocations: 491.2 kB / 1.227 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006019/1.413, allocations: 2.98 MB / 1.23 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/1.419, allocations: 3.825 MB / 1.234 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.432, allocations: 7.359 MB / 1.241 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.203e-05/1.432, allocations: 4 kB / 1.241 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03279/1.465, allocations: 12.52 MB / 1.254 GB, free: 7.082 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/1.465, allocations: 16 kB / 1.254 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.118e-05/1.465, allocations: 24 kB / 1.254 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02376/1.489, allocations: 6.003 MB / 1.259 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/1.491, allocations: 494.2 kB / 1.26 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08611/1.578, allocations: 67.22 MB / 1.326 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004958/1.583, allocations: 215.8 kB / 1.326 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.584, allocations: 148 kB / 1.326 GB, free: 10.07 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005501/1.589, allocations: 1.995 MB / 1.328 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.591, allocations: 395.4 kB / 1.328 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03024/1.621, allocations: 12.2 MB / 1.34 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.634e-05/1.621, allocations: 40 kB / 1.34 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002604/1.621, allocations: 59.94 kB / 1.34 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001173/1.622, allocations: 19.92 kB / 1.34 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04835/1.67, allocations: 19.13 MB / 1.359 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.358e-05/1.67, allocations: 12.16 kB / 1.359 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.672, allocations: 288.2 kB / 1.359 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02146/1.693, allocations: 5.562 MB / 1.365 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00109/1.695, allocations: 80 kB / 1.365 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5572/2.252, allocations: 64.84 MB / 1.428 GB, free: 331.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/2.252, allocations: 11.58 kB / 1.428 GB, free: 331.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03859/2.29, allocations: 15.56 MB / 1.443 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003634/2.294, allocations: 1.047 MB / 1.444 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/2.296, allocations: 84.19 kB / 1.444 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003541/2.299, allocations: 220.4 kB / 1.445 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001663/2.301, allocations: 403.3 kB / 1.445 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/2.301, allocations: 107.5 kB / 1.445 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002664/2.304, allocations: 1.533 MB / 1.447 GB, free: 330.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/2.304, allocations: 0 / 1.447 GB, free: 330.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007095/2.311, allocations: 1.849 MB / 1.448 GB, free: 330.5 MB / 0.9636 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02885/2.34, allocations: 16.25 MB / 1.464 GB, free: 324 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02087/2.361, allocations: 12.19 MB / 1.476 GB, free: 317.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-05/2.361, allocations: 5.812 kB / 1.476 GB, free: 317.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01475/2.376, allocations: 8.378 MB / 1.484 GB, free: 312.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008995/2.385, allocations: 1.086 MB / 1.485 GB, free: 312.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0788/2.464, allocations: 42.77 MB / 1.527 GB, free: 278.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/2.469, allocations: 4.077 MB / 1.531 GB, free: 274.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002993/2.472, allocations: 0.6786 MB / 1.532 GB, free: 273.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/2.474, allocations: 2.132 MB / 1.534 GB, free: 271.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/2.474, allocations: 0 / 1.534 GB, free: 271.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6322/3.106, allocations: 143.8 MB / 1.674 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/3.107, allocations: 232.7 kB / 1.674 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.657/8.763, allocations: 0 / 1.674 GB, free: 128.6 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)