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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 195.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 72.05 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1672, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03762/0.2049, allocations: 41.12 MB / 0.8236 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02059/0.2255, allocations: 15.09 MB / 0.8384 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.2286, allocations: 187.1 kB / 0.8386 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009507/0.2382, allocations: 4.454 MB / 0.8429 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.245, allocations: 2.79 MB / 0.8456 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006631/0.2516, allocations: 3.159 MB / 0.8487 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.2624, allocations: 11.41 MB / 0.8599 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01404/0.2764, allocations: 12.63 MB / 0.8722 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005824/0.2823, allocations: 4.798 MB / 0.8769 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006857/0.2891, allocations: 5.394 MB / 0.8821 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002061/0.2912, allocations: 0.9492 MB / 0.8831 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/0.2955, allocations: 2.036 MB / 0.8851 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00342/0.299, allocations: 3.692 MB / 0.8887 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.3034, allocations: 4.299 MB / 0.8929 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3387/0.6421, allocations: 14.18 MB / 0.9067 GB, free: 44.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6422, allocations: 0 / 0.9067 GB, free: 44.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6422, allocations: 0 / 0.9067 GB, free: 44.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003614/0.6425, allocations: 0.8438 kB / 0.9067 GB, free: 44.09 MB / 0.7169 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.01905/0.6616, allocations: 7.596 MB / 0.9141 GB, free: 41.62 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6616, allocations: 8.328 kB / 0.9141 GB, free: 41.62 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001803/0.6635, allocations: 0.8956 MB / 0.915 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/0.6729, allocations: 1.518 MB / 0.9165 GB, free: 41.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00765/0.6806, allocations: 4.208 MB / 0.9206 GB, free: 40.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.6809, allocations: 454.1 kB / 0.921 GB, free: 40.29 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/0.6826, allocations: 0.5978 MB / 0.9216 GB, free: 40.28 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.7017, allocations: 10.68 MB / 0.9321 GB, free: 39.15 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.7019, allocations: 28 kB / 0.9321 GB, free: 39.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006404/0.7025, allocations: 262.4 kB / 0.9323 GB, free: 39.15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/0.7052, allocations: 0.7774 MB / 0.9331 GB, free: 39.13 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.7178, allocations: 8.555 MB / 0.9414 GB, free: 39.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04133/0.7591, allocations: 46.86 MB / 0.9872 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.7632, allocations: 4.309 MB / 0.9914 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003937/0.7672, allocations: 3.702 MB / 0.995 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.7674, allocations: 40.39 kB / 0.9951 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.7675, allocations: 76.41 kB / 0.9951 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 4.688e-06/0.7675, allocations: 0 / 0.9951 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4673/1.235, allocations: 122.8 MB / 1.115 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/1.235, allocations: 111.9 kB / 1.115 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/1.238, allocations: 2.687 MB / 1.118 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004975/1.238, allocations: 121.7 kB / 1.118 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.24, allocations: 2.681 MB / 1.121 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.241, allocations: 1.955 MB / 1.122 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/1.243, allocations: 0.9209 MB / 1.123 GB, free: 368 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.141e-05/1.243, allocations: 305.1 kB / 1.124 GB, free: 60 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.248, allocations: 4.078 MB / 1.128 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005591/1.254, allocations: 5.022 MB / 1.133 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.265, allocations: 9.839 MB / 1.142 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/1.265, allocations: 12 kB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03382/1.299, allocations: 16.99 MB / 1.159 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.299, allocations: 16 kB / 1.159 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/1.299, allocations: 24 kB / 1.159 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02831/1.328, allocations: 9.155 MB / 1.168 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/1.33, allocations: 0.5212 MB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09603/1.426, allocations: 77.02 MB / 1.243 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/1.431, allocations: 279.9 kB / 1.244 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008505/1.432, allocations: 192 kB / 1.244 GB, free: 3.156 MB / 0.9669 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003902/1.436, allocations: 2.436 MB / 1.246 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.437, allocations: 472.4 kB / 1.247 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03656/1.473, allocations: 16.9 MB / 1.263 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-05/1.473, allocations: 60 kB / 1.263 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002348/1.474, allocations: 75.38 kB / 1.263 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.529e-05/1.474, allocations: 23.91 kB / 1.263 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4547/1.928, allocations: 25.66 MB / 1.288 GB, free: 363.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-05/1.929, allocations: 6 kB / 1.288 GB, free: 363.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.93, allocations: 320.9 kB / 1.289 GB, free: 363.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02975/1.96, allocations: 8.348 MB / 1.297 GB, free: 363.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/1.961, allocations: 102.2 kB / 1.297 GB, free: 363.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08984/2.051, allocations: 73.88 MB / 1.369 GB, free: 321.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/2.051, allocations: 11.94 kB / 1.369 GB, free: 321.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03842/2.09, allocations: 21.57 MB / 1.39 GB, free: 299.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003702/2.093, allocations: 1.358 MB / 1.392 GB, free: 298.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/2.095, allocations: 111.9 kB / 1.392 GB, free: 298.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/2.099, allocations: 288.4 kB / 1.392 GB, free: 298 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001984/2.101, allocations: 0.5222 MB / 1.392 GB, free: 297.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004613/2.101, allocations: 148 kB / 1.393 GB, free: 297.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0022/2.103, allocations: 1.776 MB / 1.394 GB, free: 295.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/2.103, allocations: 0 / 1.394 GB, free: 295.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007372/2.111, allocations: 2.465 MB / 1.397 GB, free: 293.1 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03789/2.149, allocations: 22.27 MB / 1.418 GB, free: 270.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03254/2.181, allocations: 18.67 MB / 1.437 GB, free: 251.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/2.181, allocations: 4.062 kB / 1.437 GB, free: 251.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01682/2.198, allocations: 9.355 MB / 1.446 GB, free: 242.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008717/2.207, allocations: 1.374 MB / 1.447 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1434/2.35, allocations: 79.87 MB / 1.525 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007191/2.358, allocations: 4.897 MB / 1.53 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003254/2.361, allocations: 0.741 MB / 1.531 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003226/2.364, allocations: 2.616 MB / 1.533 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/2.364, allocations: 0 / 1.533 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7227/3.087, allocations: 196.9 MB / 1.726 GB, free: 348.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/17.3, allocations: 0 / 1.726 GB, free: 348.3 MB / 0.9981 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/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)