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.495/1.495, allocations: 252 MB / 267 MB, free: 10.95 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.001034/0.001035, allocations: 178.9 kB / 326.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0008224/0.0008224, allocations: 97.2 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004641, allocations: 8.719 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3132, allocations: 106.3 MB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0273/0.3406, allocations: 34.18 MB / 0.9337 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.3615, allocations: 12.44 MB / 0.9458 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006346/0.368, allocations: 147.1 kB / 0.946 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.3714, allocations: 0.7402 MB / 0.9467 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007657/0.379, allocations: 2.064 MB / 0.9487 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005939/0.385, allocations: 1.622 MB / 0.9503 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01319/0.3982, allocations: 10.59 MB / 0.9607 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02084/0.4191, allocations: 11.43 MB / 0.9718 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007227/0.4264, allocations: 2.953 MB / 0.9747 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00847/0.4349, allocations: 3.761 MB / 0.9784 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002658/0.4376, allocations: 320 kB / 0.9787 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006165/0.4438, allocations: 0.7766 MB / 0.9794 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.006398/0.4503, allocations: 2.435 MB / 0.9818 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004427/0.4548, allocations: 1.171 MB / 0.983 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.4699, allocations: 9.732 MB / 0.9925 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.47, allocations: 7.938 kB / 0.9925 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.137e-06/0.47, allocations: 0 / 0.9925 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005449/0.4706, allocations: 4 kB / 0.9925 GB, free: 1.449 MB / 0.6355 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.01769/0.4883, allocations: 5.197 MB / 0.9975 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.4883, allocations: 12.03 kB / 0.9976 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003799/0.4921, allocations: 0.7517 MB / 0.9983 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.5028, allocations: 1.304 MB / 0.9996 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.5137, allocations: 3.464 MB / 1.003 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005352/0.5143, allocations: 382.1 kB / 1.003 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/0.5172, allocations: 0.4959 MB / 1.004 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02712/0.5443, allocations: 8.847 MB / 1.012 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004074/0.5448, allocations: 31.7 kB / 1.012 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002608/0.5474, allocations: 220 kB / 1.013 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002434/0.5499, allocations: 0.6343 MB / 1.013 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.5699, allocations: 6.975 MB / 1.02 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6181/1.188, allocations: 40.37 MB / 1.06 GB, free: 119 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00674/1.195, allocations: 2.886 MB / 1.062 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005421/1.2, allocations: 2.655 MB / 1.065 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/1.201, allocations: 29.89 kB / 1.065 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.326e-05/1.201, allocations: 66.09 kB / 1.065 GB, free: 118.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 6.202e-06/1.201, allocations: 0 / 1.065 GB, free: 118.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.2879/1.489, allocations: 77.42 MB / 1.141 GB, free: 68.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.489, allocations: 94.73 kB / 1.141 GB, free: 68.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/1.492, allocations: 2.332 MB / 1.143 GB, free: 66.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009348/1.493, allocations: 98.73 kB / 1.143 GB, free: 66.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.494, allocations: 2.339 MB / 1.145 GB, free: 63.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001579/1.495, allocations: 1.437 MB / 1.147 GB, free: 62.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/1.496, allocations: 84 kB / 1.147 GB, free: 62.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.496, allocations: 487.2 kB / 1.147 GB, free: 61.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/1.5, allocations: 2.984 MB / 1.15 GB, free: 58.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/1.504, allocations: 3.824 MB / 1.154 GB, free: 54.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/1.509, allocations: 3.552 MB / 1.157 GB, free: 50.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/1.509, allocations: 4 kB / 1.157 GB, free: 50.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02657/1.536, allocations: 12.5 MB / 1.17 GB, free: 38.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/1.536, allocations: 12 kB / 1.17 GB, free: 38.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/1.536, allocations: 31.47 kB / 1.17 GB, free: 38.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02077/1.557, allocations: 6.018 MB / 1.176 GB, free: 32.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/1.559, allocations: 491.2 kB / 1.176 GB, free: 31.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07845/1.638, allocations: 67.18 MB / 1.242 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.642, allocations: 219.7 kB / 1.242 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009047/1.643, allocations: 156 kB / 1.242 GB, free: 9.102 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * 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,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005311/1.648, allocations: 1.992 MB / 1.244 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.65, allocations: 391.4 kB / 1.244 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03043/1.68, allocations: 12.19 MB / 1.256 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/1.68, allocations: 48 kB / 1.256 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002223/1.681, allocations: 48 kB / 1.256 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/1.681, allocations: 20.11 kB / 1.256 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04455/1.725, allocations: 19.11 MB / 1.275 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/1.725, allocations: 7.938 kB / 1.275 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.727, allocations: 288.4 kB / 1.275 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02125/1.748, allocations: 5.56 MB / 1.281 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007803/1.749, allocations: 83.98 kB / 1.281 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.105/1.854, allocations: 64.82 MB / 1.344 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/1.854, allocations: 11.94 kB / 1.344 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03523/1.89, allocations: 15.56 MB / 1.359 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/1.893, allocations: 1.039 MB / 1.36 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009273/1.894, allocations: 91.94 kB / 1.36 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.897, allocations: 211.7 kB / 1.361 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001524/1.898, allocations: 398.3 kB / 1.361 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003326/1.899, allocations: 108 kB / 1.361 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002746/1.901, allocations: 1.529 MB / 1.363 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/1.901, allocations: 4 kB / 1.363 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008954/1.91, allocations: 1.848 MB / 1.364 GB, free: 7.996 MB / 0.8698 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,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03446/1.945, allocations: 16.24 MB / 1.38 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.4216/2.367, allocations: 12.17 MB / 1.392 GB, free: 292.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.367, allocations: 5.938 kB / 1.392 GB, free: 292.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01696/2.384, allocations: 8.375 MB / 1.4 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008655/2.392, allocations: 1.114 MB / 1.401 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08808/2.48, allocations: 42.77 MB / 1.443 GB, free: 274.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006875/2.487, allocations: 4.083 MB / 1.447 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003128/2.491, allocations: 0.6613 MB / 1.448 GB, free: 272.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003088/2.494, allocations: 2.14 MB / 1.45 GB, free: 270.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.903e-06/2.494, allocations: 4 kB / 1.45 GB, free: 270.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/2.679, allocations: 143.7 MB / 1.59 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/2.679, allocations: 254.3 kB / 1.591 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/9.426, allocations: 6.141 kB / 1.591 GB, free: 135.4 MB / 0.8855 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)