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.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,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 180.4 kB / 326.5 MB, free: 2.238 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.955/1.955, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009456/0.0009453, allocations: 87.91 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004015, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8779/1.167, allocations: 178.7 MB / 1.075 GB, free: 64.44 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/1.168, allocations: 95.5 kB / 1.075 GB, free: 64.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6672/1.835, allocations: 268.9 MB / 1.337 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.414e-06/1.835, allocations: 0 / 1.337 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0008243/1.836, allocations: 140 kB / 1.337 GB, free: 14.54 MB / 0.8386 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.02457/1.86, allocations: 5.143 MB / 1.342 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/1.861, allocations: 8.031 kB / 1.342 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005909/1.866, allocations: 0.7595 MB / 1.343 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/1.881, allocations: 1.499 MB / 1.345 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/1.899, allocations: 4.219 MB / 1.349 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007826/1.9, allocations: 382.1 kB / 1.349 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004413/1.904, allocations: 0.4959 MB / 1.35 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/1.936, allocations: 8.376 MB / 1.358 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/1.937, allocations: 31.72 kB / 1.358 GB, free: 9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003213/1.94, allocations: 223.9 kB / 1.358 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006932/1.94, allocations: 330 kB / 1.358 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/1.96, allocations: 6.453 MB / 1.365 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7233/2.684, allocations: 39.99 MB / 1.404 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/2.69, allocations: 2.815 MB / 1.407 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003518/2.69, allocations: 28.02 kB / 1.407 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/2.69, allocations: 64.97 kB / 1.407 GB, free: 150 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 5.1e-06/2.69, allocations: 0 / 1.407 GB, free: 150 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.2506/2.941, allocations: 64.92 MB / 1.47 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/2.941, allocations: 93.64 kB / 1.47 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00326/2.944, allocations: 1.931 MB / 1.472 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/2.945, allocations: 94.27 kB / 1.472 GB, free: 144 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/2.947, allocations: 2.336 MB / 1.474 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001952/2.949, allocations: 1.442 MB / 1.476 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/2.949, allocations: 90.53 kB / 1.476 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002414/2.949, allocations: 485.9 kB / 1.476 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/2.953, allocations: 2.778 MB / 1.479 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/2.957, allocations: 3.74 MB / 1.483 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00449/2.962, allocations: 3.362 MB / 1.486 GB, free: 141 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/2.962, allocations: 11.69 kB / 1.486 GB, free: 141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02451/2.986, allocations: 11.78 MB / 1.497 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/2.986, allocations: 14.56 kB / 1.497 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/2.986, allocations: 31.7 kB / 1.498 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/3.004, allocations: 5.01 MB / 1.502 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/3.006, allocations: 0.5097 MB / 1.503 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06837/3.075, allocations: 66.88 MB / 1.568 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005064/3.08, allocations: 191 kB / 1.568 GB, free: 98.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/3.081, allocations: 168 kB / 1.569 GB, free: 98 MB / 0.8698 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 () * Number of clocked 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.005306/3.086, allocations: 1.993 MB / 1.571 GB, free: 97.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/3.087, allocations: 390.7 kB / 1.571 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02423/3.112, allocations: 11.56 MB / 1.582 GB, free: 88.72 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/3.112, allocations: 44 kB / 1.582 GB, free: 88.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001831/3.112, allocations: 48 kB / 1.582 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.677e-05/3.112, allocations: 18.52 kB / 1.582 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0354/3.147, allocations: 17.89 MB / 1.6 GB, free: 74.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/3.147, allocations: 8 kB / 1.6 GB, free: 74.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/3.149, allocations: 287.9 kB / 1.6 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01528/3.164, allocations: 4.52 MB / 1.604 GB, free: 70.78 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009639/3.165, allocations: 84 kB / 1.605 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06166/3.227, allocations: 64.4 MB / 1.667 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/3.227, allocations: 10.44 kB / 1.667 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03104/3.258, allocations: 15.32 MB / 1.682 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0038/3.262, allocations: 0.9688 MB / 1.683 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/3.263, allocations: 83.94 kB / 1.683 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003116/3.267, allocations: 173.1 kB / 1.684 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001771/3.268, allocations: 405.8 kB / 1.684 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/3.269, allocations: 115.5 kB / 1.684 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002618/3.271, allocations: 1.458 MB / 1.685 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.6e-07/3.271, allocations: 0 / 1.685 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008931/3.28, allocations: 1.757 MB / 1.687 GB, free: 7.465 MB / 0.8855 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,(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.03805/3.318, allocations: 18.08 MB / 1.705 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.5209/3.839, allocations: 11.63 MB / 1.716 GB, free: 181.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/3.839, allocations: 0 / 1.716 GB, free: 181.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0162/3.856, allocations: 8.092 MB / 1.724 GB, free: 178.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006016/3.862, allocations: 0.9763 MB / 1.725 GB, free: 178.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09812/3.96, allocations: 59.92 MB / 1.784 GB, free: 146.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008334/3.968, allocations: 4.191 MB / 1.788 GB, free: 145.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003387/3.972, allocations: 0.6794 MB / 1.788 GB, free: 145.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/3.975, allocations: 2.139 MB / 1.79 GB, free: 145.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.132e-06/3.975, allocations: 0 / 1.79 GB, free: 145.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2025/4.177, allocations: 136.4 MB / 1.924 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/4.177, allocations: 225.9 kB / 1.924 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.346/10.52, allocations: 2.969 kB / 1.924 GB, free: 105.9 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)