Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 168.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008239, allocations: 102.5 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.927e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1721, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6573/0.8294, allocations: 179.9 MB / 1.061 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.8297, allocations: 99.86 kB / 1.061 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.222/2.051, allocations: 317.8 MB / 1.372 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.645e-06/2.051, allocations: 0 / 1.372 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007045/2.052, allocations: 173 kB / 1.372 GB, free: 190.2 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02206/2.074, allocations: 5.506 MB / 1.377 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/2.074, allocations: 7.344 kB / 1.377 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/2.089, allocations: 1.767 MB / 1.379 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/2.102, allocations: 5.022 MB / 1.384 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/2.102, allocations: 194.5 kB / 1.384 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/2.105, allocations: 362.3 kB / 1.384 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01549/2.121, allocations: 6.838 MB / 1.391 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/2.146, allocations: 8.975 MB / 1.4 GB, free: 170 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003305/2.146, allocations: 43.55 kB / 1.4 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002261/2.149, allocations: 16 kB / 1.4 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004888/2.149, allocations: 380 kB / 1.4 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07896/2.228, allocations: 45.12 MB / 1.444 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/2.234, allocations: 4.036 MB / 1.448 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/2.239, allocations: 3.45 MB / 1.451 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/2.239, allocations: 38.78 kB / 1.451 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/2.239, allocations: 69.34 kB / 1.452 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 6.592e-06/2.239, allocations: 0 / 1.452 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.09005/2.329, allocations: 37.31 MB / 1.488 GB, free: 75.92 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/2.329, allocations: 107.9 kB / 1.488 GB, free: 75.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/2.334, allocations: 1.828 MB / 1.49 GB, free: 73.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001886/2.336, allocations: 29.7 kB / 1.49 GB, free: 73.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002108/2.338, allocations: 2.704 MB / 1.493 GB, free: 71.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003849/2.342, allocations: 1.878 MB / 1.494 GB, free: 69.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/2.343, allocations: 0 / 1.494 GB, free: 69.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004259/2.343, allocations: 0.5414 MB / 1.495 GB, free: 68.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005578/2.349, allocations: 3.611 MB / 1.498 GB, free: 65.13 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006302/2.355, allocations: 4.689 MB / 1.503 GB, free: 60.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/2.361, allocations: 4.406 MB / 1.507 GB, free: 55.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-05/2.362, allocations: 8 kB / 1.507 GB, free: 55.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03042/2.392, allocations: 15.18 MB / 1.522 GB, free: 40.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/2.392, allocations: 18.19 kB / 1.522 GB, free: 40.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.853e-05/2.392, allocations: 36.16 kB / 1.522 GB, free: 40.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0219/2.414, allocations: 7.296 MB / 1.529 GB, free: 32.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/2.416, allocations: 0.5654 MB / 1.53 GB, free: 32.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6332/3.05, allocations: 65.15 MB / 1.593 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/3.055, allocations: 127.4 kB / 1.594 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/3.056, allocations: 204.2 kB / 1.594 GB, free: 174.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001079/3.057, allocations: 190 kB / 1.594 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03586/3.093, allocations: 14.37 MB / 1.608 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002291/3.096, allocations: 453.6 kB / 1.608 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03507/3.131, allocations: 15.15 MB / 1.623 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.23e-05/3.131, allocations: 53.03 kB / 1.623 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002084/3.131, allocations: 75.06 kB / 1.623 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/3.131, allocations: 25.36 kB / 1.623 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/3.176, allocations: 22.28 MB / 1.645 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/3.177, allocations: 9.75 kB / 1.645 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/3.178, allocations: 324.8 kB / 1.645 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02/3.199, allocations: 6.733 MB / 1.652 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/3.2, allocations: 13.94 kB / 1.652 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07445/3.274, allocations: 62.24 MB / 1.713 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/3.274, allocations: 13.25 kB / 1.713 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0356/3.31, allocations: 20.16 MB / 1.733 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003776/3.314, allocations: 1.244 MB / 1.734 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/3.315, allocations: 13.94 kB / 1.734 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003748/3.319, allocations: 146 kB / 1.734 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00212/3.321, allocations: 0.5164 MB / 1.734 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00044/3.321, allocations: 139.2 kB / 1.735 GB, free: 128 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002026/3.323, allocations: 1.334 MB / 1.736 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.41e-07/3.323, allocations: 0 / 1.736 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009173/3.333, allocations: 2.01 MB / 1.738 GB, free: 127.4 MB / 0.8698 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 () * 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,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 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.03506/3.368, allocations: 22.51 MB / 1.76 GB, free: 111 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02348/3.391, allocations: 13 MB / 1.773 GB, free: 99.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/3.391, allocations: 0 / 1.773 GB, free: 99.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/3.408, allocations: 8.496 MB / 1.781 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006979/3.415, allocations: 0.9762 MB / 1.782 GB, free: 90.82 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/3.446, allocations: 14.41 MB / 1.796 GB, free: 78.25 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006535/3.453, allocations: 5.016 MB / 1.801 GB, free: 74.47 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002959/3.456, allocations: 0.7285 MB / 1.801 GB, free: 73.97 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/3.458, allocations: 2.588 MB / 1.804 GB, free: 71.57 MB / 0.8698 GB Notification: Performance of SimCode: time 9.91e-07/3.458, allocations: 0 / 1.804 GB, free: 71.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8207/4.279, allocations: 170 MB / 1.97 GB, free: 202.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/4.279, allocations: 174.9 kB / 1.97 GB, free: 202.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.161/10.44, allocations: 5.75 kB / 1.97 GB, free: 202.5 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)