Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.4 MB / 303.3 MB, free: 8.031 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.001142/0.001142, allocations: 190.9 kB / 372 MB, free: 10.25 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.652/1.652, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001058, allocations: 94.36 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005036, allocations: 19.69 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01067/0.2375, allocations: 12.55 MB / 0.9919 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.2488, allocations: 8.837 MB / 1.001 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.2506, allocations: 51.62 kB / 1.001 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.2518, allocations: 273.8 kB / 1.001 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.2565, allocations: 1.278 MB / 1.002 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.2585, allocations: 0.5166 MB / 1.003 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003258/0.2617, allocations: 2.672 MB / 1.005 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.2653, allocations: 1.795 MB / 1.007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.2672, allocations: 0.8521 MB / 1.008 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.2694, allocations: 1.02 MB / 1.009 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004721/0.2699, allocations: 72 kB / 1.009 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.2715, allocations: 439.4 kB / 1.009 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.2722, allocations: 0.4984 MB / 1.01 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.2729, allocations: 352.8 kB / 1.01 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.2754, allocations: 2.115 MB / 1.012 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2755, allocations: 0 / 1.012 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2755, allocations: 0 / 1.012 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.064e-05/0.2756, allocations: 0 / 1.012 GB, free: 10.13 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004233/0.2798, allocations: 1.835 MB / 1.014 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2799, allocations: 8.031 kB / 1.014 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00049/0.2804, allocations: 198.1 kB / 1.014 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.2921, allocations: 2.147 MB / 1.016 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/0.2952, allocations: 1.154 MB / 1.017 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.2953, allocations: 90.36 kB / 1.017 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.2956, allocations: 123.9 kB / 1.018 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006068/0.3017, allocations: 2.694 MB / 1.02 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.3018, allocations: 7.984 kB / 1.02 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.302, allocations: 51.98 kB / 1.02 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006207/0.3026, allocations: 186.1 kB / 1.02 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007556/0.3102, allocations: 2.838 MB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.3256, allocations: 10.56 MB / 1.034 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006707/0.3324, allocations: 2.575 MB / 1.036 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.3355, allocations: 1.299 MB / 1.037 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.3355, allocations: 9 kB / 1.037 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3356, allocations: 51.56 kB / 1.037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.346e-06/0.3356, allocations: 0 / 1.037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.04514/0.3807, allocations: 13.44 MB / 1.051 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3808, allocations: 68.7 kB / 1.051 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.3824, allocations: 1.105 MB / 1.052 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.3825, allocations: 45.7 kB / 1.052 GB, free: 460 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.383, allocations: 0.7194 MB / 1.052 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.3834, allocations: 453.4 kB / 1.053 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3835, allocations: 32 kB / 1.053 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3837, allocations: 357.9 kB / 1.053 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/0.3869, allocations: 1.354 MB / 1.055 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/0.3903, allocations: 1.62 MB / 1.056 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.3937, allocations: 1.458 MB / 1.058 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3937, allocations: 4 kB / 1.058 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01119/0.4049, allocations: 4.466 MB / 1.062 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.405, allocations: 17.67 kB / 1.062 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.405, allocations: 4 kB / 1.062 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005166/0.4102, allocations: 1.423 MB / 1.063 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.4123, allocations: 447.2 kB / 1.064 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4683/0.8806, allocations: 24.52 MB / 1.088 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.8836, allocations: 309 kB / 1.088 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.8838, allocations: 67.67 kB / 1.088 GB, free: 68.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009118/0.8847, allocations: 434.6 kB / 1.088 GB, free: 68.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.885, allocations: 163.4 kB / 1.089 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.8977, allocations: 4.48 MB / 1.093 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.8977, allocations: 12.84 kB / 1.093 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.571e-05/0.8978, allocations: 13.16 kB / 1.093 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.8978, allocations: 7.031 kB / 1.093 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.9143, allocations: 6.806 MB / 1.1 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.9144, allocations: 2.031 kB / 1.1 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.9164, allocations: 392 kB / 1.1 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004891/0.9213, allocations: 1.311 MB / 1.101 GB, free: 64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.9215, allocations: 42.06 kB / 1.101 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.9421, allocations: 23.49 MB / 1.124 GB, free: 44.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9421, allocations: 7.438 kB / 1.124 GB, free: 44.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.9525, allocations: 4.237 MB / 1.128 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.9537, allocations: 454.2 kB / 1.129 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.954, allocations: 24.59 kB / 1.129 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.956, allocations: 319 kB / 1.129 GB, free: 41.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004789/0.9565, allocations: 126.1 kB / 1.129 GB, free: 41.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.9566, allocations: 51.67 kB / 1.129 GB, free: 41.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001214/0.9579, allocations: 0.7384 MB / 1.13 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9579, allocations: 0 / 1.13 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002731/0.9606, allocations: 0.5712 MB / 1.131 GB, free: 40.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/0.9716, allocations: 4.816 MB / 1.135 GB, free: 37.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01104/0.9827, allocations: 5.152 MB / 1.14 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.9828, allocations: 1.312 kB / 1.14 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006582/0.9893, allocations: 3.508 MB / 1.144 GB, free: 31.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.9919, allocations: 0.5053 MB / 1.144 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/1.018, allocations: 14.39 MB / 1.158 GB, free: 19.01 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009837/1.019, allocations: 1.476 MB / 1.16 GB, free: 17.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001929/1.021, allocations: 425.6 kB / 1.16 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/1.022, allocations: 0.6242 MB / 1.161 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.022, allocations: 0 / 1.161 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08002/1.102, allocations: 49.73 MB / 1.209 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.102, allocations: 235.5 kB / 1.21 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.402/4.504, allocations: 0 / 1.21 GB, free: 15.05 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)