Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008892/0.0008893, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007773/0.0007774, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.695/1.695, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005489/0.0005491, allocations: 12.19 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2448, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.002904/0.2478, allocations: 2.267 MB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2497, allocations: 1.35 MB / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.2498, allocations: 4 kB / 0.7908 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.25, allocations: 23.78 kB / 0.7908 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2503, allocations: 99.59 kB / 0.7909 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.2507, allocations: 147.6 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.251, allocations: 251.2 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.2514, allocations: 218.1 kB / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2516, allocations: 71.7 kB / 0.7916 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.2518, allocations: 99.59 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2518, allocations: 4 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.252, allocations: 119.8 kB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.2521, allocations: 59.86 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.2522, allocations: 49.64 kB / 0.7919 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.2524, allocations: 199.8 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2524, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2524, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2524, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006045/0.253, allocations: 451 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2531, allocations: 12.03 kB / 0.7925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.2535, allocations: 67.61 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.2538, allocations: 222.9 kB / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2538, allocations: 12.22 kB / 0.7928 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.2539, allocations: 19.92 kB / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.2543, allocations: 275.7 kB / 0.7931 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2543, allocations: 0 / 0.7931 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.2543, allocations: 4 kB / 0.7931 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.2543, allocations: 20.22 kB / 0.7931 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.2547, allocations: 208.5 kB / 0.7933 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.2562, allocations: 1.58 MB / 0.7949 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.2566, allocations: 323.2 kB / 0.7952 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.2567, allocations: 69.69 kB / 0.7953 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.2567, allocations: 0 / 0.7953 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2567, allocations: 38.66 kB / 0.7953 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2567, allocations: 0 / 0.7953 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005448/0.2573, allocations: 245 kB / 0.7955 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.2573, allocations: 81.09 kB / 0.7956 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2575, allocations: 200.1 kB / 0.7958 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2576, allocations: 25.7 kB / 0.7958 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.2576, allocations: 151.7 kB / 0.796 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.2577, allocations: 43.47 kB / 0.796 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2577, allocations: 4 kB / 0.796 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2578, allocations: 322.8 kB / 0.7963 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.2579, allocations: 67.95 kB / 0.7964 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2581, allocations: 162.9 kB / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.2582, allocations: 95.91 kB / 0.7966 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2582, allocations: 0 / 0.7966 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003655/0.2586, allocations: 261.4 kB / 0.7969 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-05/0.2587, allocations: 171.3 kB / 0.797 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2587, allocations: 4.078 kB / 0.797 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2587, allocations: 4 kB / 0.7971 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.259, allocations: 59.89 kB / 0.7971 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.259, allocations: 11.98 kB / 0.7971 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.2591, allocations: 15.98 kB / 0.7971 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2591, allocations: 8 kB / 0.7971 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-06/0.2591, allocations: 7.938 kB / 0.7972 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002711/0.2594, allocations: 196 kB / 0.7973 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.2594, allocations: 8.031 kB / 0.7973 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.2594, allocations: 4 kB / 0.7973 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.2596, allocations: 47.91 kB / 0.7974 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2596, allocations: 11.95 kB / 0.7974 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/0.2597, allocations: 11.91 kB / 0.7974 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2597, allocations: 8 kB / 0.7974 GB, free: 1.027 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.2599, allocations: 225 kB / 0.7976 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.2599, allocations: 11.91 kB / 0.7977 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.2602, allocations: 154.8 kB / 0.7978 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2602, allocations: 4 kB / 0.7978 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2602, allocations: 3.953 kB / 0.7978 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.2602, allocations: 3.984 kB / 0.7978 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009014/0.2611, allocations: 0.7119 MB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2612, allocations: 0 / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.2613, allocations: 27.92 kB / 0.7985 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2613, allocations: 4 kB / 0.7985 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2613, allocations: 11.98 kB / 0.7985 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2613, allocations: 4 kB / 0.7986 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2613, allocations: 4.328 kB / 0.7986 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.2616, allocations: 382.2 kB / 0.7989 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.2617, allocations: 104.9 kB / 0.799 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.2617, allocations: 12.12 kB / 0.799 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2619, allocations: 7.984 kB / 0.799 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.2619, allocations: 23.92 kB / 0.7991 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.2619, allocations: 4 kB / 0.7991 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001291/0.2621, allocations: 157.3 kB / 0.7992 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2621, allocations: 0 / 0.7992 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004756/0.2626, allocations: 68 kB / 0.7993 GB, free: 14.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.2627, allocations: 103.2 kB / 0.7994 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.2631, allocations: 271.5 kB / 0.7996 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2631, allocations: 0 / 0.7996 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.2632, allocations: 57.47 kB / 0.7997 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.2636, allocations: 35.09 kB / 0.7997 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.2643, allocations: 0.4932 MB / 0.8002 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2646, allocations: 0.7323 MB / 0.8009 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.2648, allocations: 69.47 kB / 0.801 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.2648, allocations: 19.44 kB / 0.801 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2648, allocations: 0 / 0.801 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.004002/0.2688, allocations: 1.624 MB / 0.8026 GB, free: 11.49 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: