Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001334/0.001334, allocations: 185 kB / 326.5 MB, free: 2.234 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.965/1.965, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009106/0.0009106, allocations: 113.6 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 11.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005288/0.2694, allocations: 5.285 MB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.2736, allocations: 3.023 MB / 0.9083 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.2741, allocations: 27.75 kB / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.2744, allocations: 111.2 kB / 0.9084 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000843/0.2752, allocations: 350.9 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009965/0.2763, allocations: 377.9 kB / 0.9091 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006194/0.2769, allocations: 0.6454 MB / 0.9097 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.2782, allocations: 0.9132 MB / 0.9106 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.2786, allocations: 326.8 kB / 0.9109 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.2791, allocations: 346.7 kB / 0.9113 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.2791, allocations: 28 kB / 0.9113 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.2796, allocations: 207.6 kB / 0.9115 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2797, allocations: 235.3 kB / 0.9117 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2798, allocations: 157.3 kB / 0.9119 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.2805, allocations: 0.834 MB / 0.9127 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2805, allocations: 0 / 0.9127 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.529e-06/0.2806, allocations: 0 / 0.9127 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.2806, allocations: 7.938 kB / 0.9127 GB, free: 50.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001398/0.282, allocations: 0.9115 MB / 0.9136 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.282, allocations: 8.031 kB / 0.9136 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.2822, allocations: 118.5 kB / 0.9137 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.2834, allocations: 206.8 kB / 0.9139 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008204/0.2842, allocations: 0.521 MB / 0.9144 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.2842, allocations: 49.3 kB / 0.9144 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.2843, allocations: 63.89 kB / 0.9145 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.2855, allocations: 1.014 MB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.2855, allocations: 11.92 kB / 0.9155 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.2856, allocations: 31.98 kB / 0.9155 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.462e-05/0.2857, allocations: 69.22 kB / 0.9156 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.2866, allocations: 0.6956 MB / 0.9163 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.2906, allocations: 5.768 MB / 0.9219 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.2913, allocations: 0.5941 MB / 0.9225 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2914, allocations: 8 kB / 0.9225 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.2914, allocations: 38.56 kB / 0.9225 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.395e-06/0.2914, allocations: 0 / 0.9225 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003324/0.2947, allocations: 1.894 MB / 0.9244 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2948, allocations: 59.19 kB / 0.9244 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.2951, allocations: 466.7 kB / 0.9249 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.2952, allocations: 37.7 kB / 0.9249 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2954, allocations: 383.1 kB / 0.9253 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.2955, allocations: 149.8 kB / 0.9254 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.2955, allocations: 12 kB / 0.9254 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.2956, allocations: 366.8 kB / 0.9258 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.2959, allocations: 229.2 kB / 0.926 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.2962, allocations: 441 kB / 0.9264 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2966, allocations: 303.7 kB / 0.9267 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2966, allocations: 4 kB / 0.9267 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001366/0.298, allocations: 0.9794 MB / 0.9277 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.298, allocations: 8.875 kB / 0.9277 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.298, allocations: 15.94 kB / 0.9277 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007791/0.2988, allocations: 267.2 kB / 0.928 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2991, allocations: 103.8 kB / 0.9281 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.3041, allocations: 6.747 MB / 0.9347 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.3045, allocations: 27.97 kB / 0.9347 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.3046, allocations: 28 kB / 0.9347 GB, free: 26.9 MB / 0.6042 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.3049, allocations: 240.2 kB / 0.9349 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.305, allocations: 67.36 kB / 0.935 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.3063, allocations: 0.8302 MB / 0.9358 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3063, allocations: 4 kB / 0.9358 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3063, allocations: 4 kB / 0.9358 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3063, allocations: 3.984 kB / 0.9358 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.3085, allocations: 1.715 MB / 0.9375 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3085, allocations: 4.188 kB / 0.9375 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3087, allocations: 47.95 kB / 0.9375 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006966/0.3095, allocations: 243.4 kB / 0.9378 GB, free: 23.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.3095, allocations: 16 kB / 0.9378 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004863/0.3144, allocations: 6.464 MB / 0.9441 GB, free: 16.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3144, allocations: 3.938 kB / 0.9441 GB, free: 16.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.3158, allocations: 0.9704 MB / 0.9451 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.316, allocations: 172.3 kB / 0.9452 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.3161, allocations: 12 kB / 0.9452 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3164, allocations: 27.91 kB / 0.9453 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.3165, allocations: 47.84 kB / 0.9453 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.3165, allocations: 8 kB / 0.9453 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003144/0.3168, allocations: 306.9 kB / 0.9456 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3168, allocations: 0 / 0.9456 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000834/0.3177, allocations: 188 kB / 0.9458 GB, free: 14.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.3192, allocations: 1.94 MB / 0.9477 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.3206, allocations: 1.141 MB / 0.9488 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3207, allocations: 0 / 0.9488 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.3215, allocations: 0.7995 MB / 0.9496 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.3223, allocations: 182 kB / 0.9497 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.3293, allocations: 8.425 MB / 0.958 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.3298, allocations: 1.004 MB / 0.959 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000352/0.3302, allocations: 109.2 kB / 0.9591 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.3304, allocations: 223.4 kB / 0.9593 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of SimCode: time 1.573e-06/0.3304, allocations: 0 / 0.9593 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.363, allocations: 14.01 MB / 0.973 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.3632, allocations: 230.8 kB / 0.9732 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.734, allocations: 0 / 0.9732 GB, free: 2.551 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)