Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001039/0.001039, allocations: 176.8 kB / 361.4 MB, free: 6.816 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.362/1.362, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 101.7 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.629e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6721/0.6722, allocations: 115.3 MB / 0.9645 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.9007, allocations: 184.2 MB / 1.144 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.9011, allocations: 92.44 kB / 1.144 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.192/2.093, allocations: 266.3 MB / 1.405 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/2.094, allocations: 4 kB / 1.405 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006067/2.094, allocations: 144 kB / 1.405 GB, free: 139.6 MB / 0.8542 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.01837/2.113, allocations: 4.628 MB / 1.409 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/2.113, allocations: 8.031 kB / 1.409 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/2.125, allocations: 1.484 MB / 1.411 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/2.139, allocations: 4.211 MB / 1.415 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/2.139, allocations: 164 kB / 1.415 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003079/2.142, allocations: 295.9 kB / 1.415 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01487/2.157, allocations: 5.573 MB / 1.421 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/2.186, allocations: 7.538 MB / 1.428 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004102/2.187, allocations: 31.7 kB / 1.428 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003016/2.19, allocations: 12 kB / 1.428 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004654/2.19, allocations: 334 kB / 1.428 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05375/2.244, allocations: 38.91 MB / 1.466 GB, free: 72.62 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/2.248, allocations: 2.713 MB / 1.469 GB, free: 69.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/2.252, allocations: 2.47 MB / 1.471 GB, free: 67.42 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/2.252, allocations: 30.09 kB / 1.471 GB, free: 67.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/2.252, allocations: 56.66 kB / 1.472 GB, free: 67.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 4.549e-06/2.252, allocations: 4 kB / 1.472 GB, free: 67.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.07441/2.327, allocations: 27.37 MB / 1.498 GB, free: 39.72 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/2.327, allocations: 94.73 kB / 1.498 GB, free: 39.62 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/2.33, allocations: 1.622 MB / 1.5 GB, free: 37.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009068/2.331, allocations: 25.7 kB / 1.5 GB, free: 37.95 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001412/2.332, allocations: 2.363 MB / 1.502 GB, free: 35.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002137/2.334, allocations: 1.389 MB / 1.504 GB, free: 34.15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008292/2.335, allocations: 0 / 1.504 GB, free: 34.15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003307/2.335, allocations: 479.4 kB / 1.504 GB, free: 33.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/2.339, allocations: 2.648 MB / 1.507 GB, free: 31.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/2.344, allocations: 3.583 MB / 1.51 GB, free: 27.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/2.348, allocations: 3.23 MB / 1.513 GB, free: 23.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/2.348, allocations: 8 kB / 1.513 GB, free: 23.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02551/2.374, allocations: 11.15 MB / 1.524 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/2.374, allocations: 20.22 kB / 1.524 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-05/2.374, allocations: 32 kB / 1.524 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01739/2.391, allocations: 4.898 MB / 1.529 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/2.394, allocations: 0.5031 MB / 1.53 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08063/2.475, allocations: 62.27 MB / 1.59 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/2.479, allocations: 95.86 kB / 1.59 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000933/2.48, allocations: 164.1 kB / 1.591 GB, free: 5.75 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009608/2.481, allocations: 199.9 kB / 1.591 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02491/2.506, allocations: 10.43 MB / 1.601 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/2.508, allocations: 371.6 kB / 1.601 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7189/3.227, allocations: 11 MB / 1.612 GB, free: 211 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/3.227, allocations: 40.97 kB / 1.612 GB, free: 211 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002051/3.228, allocations: 48.03 kB / 1.612 GB, free: 211 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/3.228, allocations: 20.28 kB / 1.612 GB, free: 211 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05329/3.281, allocations: 16.54 MB / 1.628 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.936e-05/3.281, allocations: 7.438 kB / 1.628 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/3.284, allocations: 291.5 kB / 1.629 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01832/3.302, allocations: 4.424 MB / 1.633 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008317/3.303, allocations: 11.53 kB / 1.633 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07597/3.379, allocations: 60 MB / 1.692 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-05/3.379, allocations: 12.7 kB / 1.692 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03384/3.413, allocations: 14.72 MB / 1.706 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003543/3.417, allocations: 0.9467 MB / 1.707 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/3.418, allocations: 13.48 kB / 1.707 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003216/3.421, allocations: 112.8 kB / 1.707 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001809/3.423, allocations: 396.1 kB / 1.707 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/3.424, allocations: 108.6 kB / 1.707 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001856/3.425, allocations: 1.189 MB / 1.709 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.2e-07/3.425, allocations: 0 / 1.709 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008026/3.433, allocations: 1.545 MB / 1.71 GB, free: 175.2 MB / 0.9323 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 () * 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,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02985/3.463, allocations: 17.09 MB / 1.727 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02363/3.487, allocations: 10.95 MB / 1.738 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.718e-05/3.487, allocations: 1.594 kB / 1.738 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01854/3.506, allocations: 7.585 MB / 1.745 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007647/3.513, allocations: 0.8701 MB / 1.746 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03527/3.549, allocations: 11.18 MB / 1.757 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009605/3.558, allocations: 4.192 MB / 1.761 GB, free: 150 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003781/3.562, allocations: 0.6526 MB / 1.761 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003777/3.566, allocations: 2.118 MB / 1.763 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.713e-06/3.566, allocations: 0 / 1.763 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/3.788, allocations: 131.1 MB / 1.892 GB, free: 56.12 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/3.788, allocations: 180.7 kB / 1.892 GB, free: 55.92 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.509/9.297, allocations: 0 / 1.892 GB, free: 55.92 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)