Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001097/0.001097, allocations: 180.8 kB / 366.7 MB, free: 1.633 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.447/1.447, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008218/0.0008219, allocations: 92.92 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.016e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7138/0.7139, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.9572, allocations: 185.3 MB / 1.154 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.9575, allocations: 92.47 kB / 1.154 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.254/2.212, allocations: 297.7 MB / 1.445 GB, free: 97.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.816e-06/2.212, allocations: 0 / 1.445 GB, free: 97.24 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007489/2.212, allocations: 151.8 kB / 1.445 GB, free: 97.09 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.01855/2.231, allocations: 4.65 MB / 1.45 GB, free: 92.38 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/2.231, allocations: 8.031 kB / 1.45 GB, free: 92.37 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/2.243, allocations: 1.491 MB / 1.451 GB, free: 90.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/2.257, allocations: 4.23 MB / 1.455 GB, free: 86.56 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/2.257, allocations: 160 kB / 1.456 GB, free: 86.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003829/2.261, allocations: 303.9 kB / 1.456 GB, free: 86.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0158/2.277, allocations: 5.569 MB / 1.461 GB, free: 80.53 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/2.3, allocations: 7.538 MB / 1.469 GB, free: 72.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003543/2.301, allocations: 35.66 kB / 1.469 GB, free: 72.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002698/2.303, allocations: 15.95 kB / 1.469 GB, free: 72.49 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/2.304, allocations: 330 kB / 1.469 GB, free: 72.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04983/2.354, allocations: 38.92 MB / 1.507 GB, free: 30.05 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/2.357, allocations: 2.705 MB / 1.51 GB, free: 27.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00325/2.361, allocations: 2.474 MB / 1.512 GB, free: 24.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/2.361, allocations: 26.09 kB / 1.512 GB, free: 24.83 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/2.361, allocations: 68.59 kB / 1.512 GB, free: 24.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 4.318e-06/2.361, allocations: 0 / 1.512 GB, free: 24.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.06581/2.427, allocations: 27.34 MB / 1.539 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/2.427, allocations: 94.73 kB / 1.539 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005884/2.433, allocations: 1.63 MB / 1.54 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001734/2.435, allocations: 25.7 kB / 1.541 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002768/2.438, allocations: 2.359 MB / 1.543 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002707/2.44, allocations: 1.385 MB / 1.544 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000889/2.441, allocations: 0 / 1.544 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004411/2.442, allocations: 483.4 kB / 1.545 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/2.446, allocations: 2.644 MB / 1.547 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/2.452, allocations: 3.579 MB / 1.551 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005631/2.458, allocations: 3.238 MB / 1.554 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/2.458, allocations: 8 kB / 1.554 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02665/2.484, allocations: 11.16 MB / 1.565 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/2.484, allocations: 16 kB / 1.565 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/2.484, allocations: 28 kB / 1.565 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01735/2.502, allocations: 4.893 MB / 1.57 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/2.504, allocations: 0.503 MB / 1.57 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6891/3.194, allocations: 62.27 MB / 1.631 GB, free: 189 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/3.198, allocations: 102.1 kB / 1.631 GB, free: 189 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006474/3.198, allocations: 165.6 kB / 1.631 GB, free: 189 MB / 0.9323 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.0007991/3.199, allocations: 189.9 kB / 1.631 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008157/3.2, allocations: 369.8 kB / 1.632 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/3.223, allocations: 11 MB / 1.642 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.625e-05/3.223, allocations: 39.5 kB / 1.642 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001178/3.224, allocations: 49.12 kB / 1.643 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.113e-05/3.224, allocations: 29.08 kB / 1.643 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03335/3.257, allocations: 16.53 MB / 1.659 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/3.257, allocations: 9.656 kB / 1.659 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/3.259, allocations: 290.3 kB / 1.659 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01479/3.274, allocations: 4.418 MB / 1.663 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001024/3.275, allocations: 17.45 kB / 1.663 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06791/3.343, allocations: 60.02 MB / 1.722 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/3.343, allocations: 10.41 kB / 1.722 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02598/3.369, allocations: 14.7 MB / 1.736 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/3.371, allocations: 0.9511 MB / 1.737 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008817/3.372, allocations: 24.45 kB / 1.737 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/3.375, allocations: 108.1 kB / 1.737 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001839/3.376, allocations: 405.7 kB / 1.738 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/3.377, allocations: 100.2 kB / 1.738 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001878/3.379, allocations: 1.189 MB / 1.739 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/3.379, allocations: 0 / 1.739 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008337/3.387, allocations: 1.56 MB / 1.741 GB, free: 146.4 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.0006688/3.388, allocations: 146.8 kB / 1.741 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01681/3.405, allocations: 10.96 MB / 1.751 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/3.405, allocations: 2.938 kB / 1.751 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01349/3.418, allocations: 7.59 MB / 1.759 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006549/3.425, allocations: 0.87 MB / 1.76 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/3.446, allocations: 9.755 MB / 1.769 GB, free: 131.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005266/3.452, allocations: 4.187 MB / 1.773 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002619/3.454, allocations: 0.6573 MB / 1.774 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/3.455, allocations: 165 kB / 1.774 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of SimCode: time 9.12e-07/3.455, allocations: 3.375 kB / 1.774 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.1284/3.583, allocations: 90.49 MB / 1.862 GB, free: 79.76 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)