Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.572/2.572, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 183.4 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.648/2.648, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009361/0.0009357, allocations: 90.72 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005308, allocations: 14.69 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.233, allocations: 106.2 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004804/0.2378, allocations: 3.113 MB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00351/0.2414, allocations: 1.665 MB / 0.9037 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.2417, allocations: 4 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.2419, allocations: 31.72 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.2426, allocations: 151.2 kB / 0.9039 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.2434, allocations: 191.5 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.2439, allocations: 410.7 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.2449, allocations: 404.5 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.2452, allocations: 127.5 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.2456, allocations: 171.4 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.2456, allocations: 16 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.2461, allocations: 143.8 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.2463, allocations: 79.72 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.2464, allocations: 69.58 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.2469, allocations: 339.4 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2469, allocations: 4 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2469, allocations: 0 / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2469, allocations: 0 / 0.9058 GB, free: 58.48 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001577/0.2485, allocations: 0.602 MB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2486, allocations: 12.03 kB / 0.9064 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.2497, allocations: 96.45 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.2502, allocations: 275.8 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.2502, allocations: 24.8 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.2503, allocations: 16.38 kB / 0.9068 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2515, allocations: 430.7 kB / 0.9072 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2515, allocations: 0 / 0.9072 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.2516, allocations: 12 kB / 0.9072 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.079e-05/0.2516, allocations: 20.36 kB / 0.9072 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.2531, allocations: 420.8 kB / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.2555, allocations: 1.607 MB / 0.9092 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.2574, allocations: 481.9 kB / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.2582, allocations: 209.6 kB / 0.9098 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.2584, allocations: 89.08 kB / 0.9099 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008617/0.2593, allocations: 278.5 kB / 0.9102 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.597e-06/0.2593, allocations: 4 kB / 0.9102 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.002977/0.2623, allocations: 0.7858 MB / 0.9109 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.2624, allocations: 81.11 kB / 0.911 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.2627, allocations: 228.9 kB / 0.9112 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.2628, allocations: 33.7 kB / 0.9113 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2629, allocations: 160.4 kB / 0.9114 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.263, allocations: 94.64 kB / 0.9115 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2631, allocations: 12 kB / 0.9115 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.2632, allocations: 334.8 kB / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.2639, allocations: 176.2 kB / 0.912 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/0.2646, allocations: 265.3 kB / 0.9123 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.2654, allocations: 229.8 kB / 0.9125 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2654, allocations: 0 / 0.9125 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001962/0.2674, allocations: 0.5636 MB / 0.913 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.2675, allocations: 186.6 kB / 0.9132 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2676, allocations: 3.938 kB / 0.9132 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.2679, allocations: 40.81 kB / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.2687, allocations: 95.86 kB / 0.9133 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.2703, allocations: 1.501 MB / 0.9148 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.271, allocations: 55.81 kB / 0.9149 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.2711, allocations: 16 kB / 0.9149 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2711, allocations: 6.344 kB / 0.9149 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001708/0.2728, allocations: 498.9 kB / 0.9154 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2729, allocations: 4 kB / 0.9154 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.2731, allocations: 40.77 kB / 0.9154 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.2738, allocations: 92.02 kB / 0.9155 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.2753, allocations: 1.489 MB / 0.9169 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.2759, allocations: 51.84 kB / 0.917 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.2759, allocations: 15.98 kB / 0.917 GB, free: 46.19 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.2763, allocations: 237 kB / 0.9172 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.2763, allocations: 27.78 kB / 0.9173 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.278, allocations: 497.3 kB / 0.9177 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2781, allocations: 4 kB / 0.9177 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2781, allocations: 4 kB / 0.9177 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.2781, allocations: 3.984 kB / 0.9178 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009105/0.279, allocations: 0.5584 MB / 0.9183 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.2791, allocations: 0 / 0.9183 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.2798, allocations: 87.95 kB / 0.9184 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.28, allocations: 32.83 kB / 0.9184 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.28, allocations: 11.98 kB / 0.9184 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.2813, allocations: 1.413 MB / 0.9198 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2813, allocations: 0 / 0.9198 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.283, allocations: 0.571 MB / 0.9204 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.2833, allocations: 136.7 kB / 0.9205 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.2834, allocations: 7.984 kB / 0.9205 GB, free: 42.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.2839, allocations: 39.95 kB / 0.9205 GB, free: 42.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.2841, allocations: 35.95 kB / 0.9206 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.2841, allocations: 4 kB / 0.9206 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002111/0.2843, allocations: 176.4 kB / 0.9207 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.22e-07/0.2843, allocations: 0 / 0.9207 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007975/0.2852, allocations: 132 kB / 0.9209 GB, free: 41.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002069/0.2854, allocations: 119.2 kB / 0.921 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.2883, allocations: 1.01 MB / 0.922 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.2884, allocations: 7.875 kB / 0.922 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009782/0.2894, allocations: 338.8 kB / 0.9223 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.29, allocations: 48.39 kB / 0.9223 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.2919, allocations: 0.7402 MB / 0.9231 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2922, allocations: 0.7917 MB / 0.9238 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005538/0.2928, allocations: 94.23 kB / 0.9239 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.293, allocations: 27.42 kB / 0.924 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.372e-06/0.293, allocations: 0 / 0.924 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.01161/0.3046, allocations: 4.039 MB / 0.9279 GB, free: 34.68 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)