Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001295/0.001296, allocations: 180.5 kB / 377.1 MB, free: 1.523 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.796/1.796, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009731/0.0009733, allocations: 91.31 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003407, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2838, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8651/1.149, allocations: 187.1 MB / 1.171 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/1.149, allocations: 98.05 kB / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.57/2.72, allocations: 356.3 MB / 1.519 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.865e-06/2.72, allocations: 0 / 1.519 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001411/2.721, allocations: 170.5 kB / 1.519 GB, free: 155.7 MB / 0.9323 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.02892/2.75, allocations: 6.176 MB / 1.525 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 8.077e-05/2.75, allocations: 10.25 kB / 1.525 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008245/2.759, allocations: 0.9021 MB / 1.526 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/2.775, allocations: 1.773 MB / 1.528 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/2.794, allocations: 5.064 MB / 1.533 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007039/2.795, allocations: 452.9 kB / 1.533 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004287/2.799, allocations: 0.6015 MB / 1.534 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03508/2.834, allocations: 9.986 MB / 1.544 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004696/2.835, allocations: 26.81 kB / 1.544 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003352/2.838, allocations: 272 kB / 1.544 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006095/2.839, allocations: 383.6 kB / 1.544 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/2.86, allocations: 7.836 MB / 1.552 GB, free: 141.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08055/2.941, allocations: 46.37 MB / 1.597 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007385/2.948, allocations: 4.192 MB / 1.601 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006537/2.949, allocations: 38.56 kB / 1.601 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.235e-05/2.949, allocations: 69.03 kB / 1.601 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 7.574e-06/2.949, allocations: 0 / 1.601 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578): time 0.4623/3.411, allocations: 106.4 MB / 1.705 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/3.411, allocations: 107.9 kB / 1.705 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004369/3.416, allocations: 2.149 MB / 1.708 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001716/3.418, allocations: 121.7 kB / 1.708 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/3.419, allocations: 2.7 MB / 1.71 GB, free: 15.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002887/3.422, allocations: 1.953 MB / 1.712 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005247/3.423, allocations: 112 kB / 1.712 GB, free: 13.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003886/3.423, allocations: 0.5337 MB / 1.713 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006039/3.429, allocations: 3.783 MB / 1.717 GB, free: 9.605 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007351/3.436, allocations: 4.902 MB / 1.721 GB, free: 4.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7505/4.187, allocations: 4.581 MB / 1.726 GB, free: 168.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.215e-05/4.187, allocations: 10.88 kB / 1.726 GB, free: 168.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05002/4.237, allocations: 15.98 MB / 1.741 GB, free: 167.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.775e-05/4.237, allocations: 20.31 kB / 1.741 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.815e-05/4.237, allocations: 31 kB / 1.741 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03322/4.271, allocations: 7.742 MB / 1.749 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/4.274, allocations: 0.5545 MB / 1.75 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1082/4.382, allocations: 70.5 MB / 1.818 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006597/4.389, allocations: 243.1 kB / 1.819 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/4.39, allocations: 201.6 kB / 1.819 GB, free: 144.7 MB / 0.948 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 () * Number of clocked 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.006943/4.397, allocations: 2.437 MB / 1.821 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/4.399, allocations: 472.1 kB / 1.822 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0413/4.44, allocations: 15.91 MB / 1.837 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-05/4.44, allocations: 54.97 kB / 1.837 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003399/4.441, allocations: 71.94 kB / 1.837 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001271/4.441, allocations: 28.12 kB / 1.837 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07442/4.515, allocations: 23.98 MB / 1.861 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.004e-05/4.515, allocations: 7.875 kB / 1.861 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/4.517, allocations: 320.9 kB / 1.861 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02438/4.542, allocations: 6.877 MB / 1.868 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001569/4.543, allocations: 110.3 kB / 1.868 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08823/4.632, allocations: 67.37 MB / 1.934 GB, free: 87.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/4.632, allocations: 13.97 kB / 1.934 GB, free: 87.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.042/4.674, allocations: 20.94 MB / 1.954 GB, free: 78.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005506/4.679, allocations: 1.261 MB / 1.955 GB, free: 77.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/4.681, allocations: 103.8 kB / 1.955 GB, free: 77.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/4.685, allocations: 236.5 kB / 1.956 GB, free: 77.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002317/4.688, allocations: 0.518 MB / 1.956 GB, free: 77.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004684/4.688, allocations: 138.9 kB / 1.956 GB, free: 77.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003273/4.691, allocations: 1.619 MB / 1.958 GB, free: 76.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/4.691, allocations: 4 kB / 1.958 GB, free: 76.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01203/4.703, allocations: 2.337 MB / 1.96 GB, free: 76.28 MB / 0.948 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,(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.04101/4.744, allocations: 23.37 MB / 1.983 GB, free: 61.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02643/4.771, allocations: 13.82 MB / 1.997 GB, free: 49.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-05/4.771, allocations: 0 / 1.997 GB, free: 49.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01851/4.789, allocations: 9.062 MB / 2.005 GB, free: 41.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006939/4.796, allocations: 1.104 MB / 2.006 GB, free: 40.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1177/4.914, allocations: 74.39 MB / 2.079 GB, free: 2.633 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01446/4.929, allocations: 5.509 MB / 2.084 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003325/4.932, allocations: 0.7533 MB / 2.085 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004083/4.936, allocations: 2.592 MB / 2.088 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of SimCode: time 1.032e-06/4.936, allocations: 4 kB / 2.088 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7949/5.731, allocations: 175.8 MB / 2.259 GB, free: 180.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/5.731, allocations: 228.2 kB / 2.26 GB, free: 179.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/13.96, allocations: 0 / 2.26 GB, free: 179.9 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)