Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.001362/0.001362, allocations: 194.2 kB / 376.9 MB, free: 1.84 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.647/1.647, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 95.83 kB / 0.7479 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 47.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2741, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02219/0.2964, allocations: 16.61 MB / 0.9984 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.3087, allocations: 6.345 MB / 1.005 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.3106, allocations: 39.88 kB / 1.005 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.3141, allocations: 1.199 MB / 1.006 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.3167, allocations: 0.7979 MB / 1.007 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.3208, allocations: 1.423 MB / 1.008 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007321/0.3281, allocations: 5.817 MB / 1.014 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009607/0.3378, allocations: 5.591 MB / 1.019 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.3407, allocations: 1.386 MB / 1.021 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.3446, allocations: 2.029 MB / 1.022 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.3458, allocations: 260 kB / 1.023 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5501/0.8959, allocations: 0.8303 MB / 1.024 GB, free: 73.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002805/0.8988, allocations: 1.373 MB / 1.025 GB, free: 73.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.901, allocations: 1.403 MB / 1.026 GB, free: 73.76 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006433/0.9074, allocations: 5.461 MB / 1.032 GB, free: 73.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.9075, allocations: 0 / 1.032 GB, free: 73.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9075, allocations: 1.062 kB / 1.032 GB, free: 73.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001745/0.9077, allocations: 0.9688 kB / 1.032 GB, free: 73.4 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007801/0.9155, allocations: 2.717 MB / 1.034 GB, free: 72.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9155, allocations: 10.91 kB / 1.034 GB, free: 72.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.9196, allocations: 0.7735 MB / 1.035 GB, free: 72.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.9238, allocations: 1.41 MB / 1.036 GB, free: 71.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.924, allocations: 192.2 kB / 1.037 GB, free: 71.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007111/0.9248, allocations: 248.9 kB / 1.037 GB, free: 71.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.9356, allocations: 4.586 MB / 1.041 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/0.9357, allocations: 9.75 kB / 1.041 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.936, allocations: 109.3 kB / 1.041 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002866/0.9363, allocations: 177.1 kB / 1.042 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007022/0.9433, allocations: 3.832 MB / 1.045 GB, free: 71.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/0.9646, allocations: 21.43 MB / 1.066 GB, free: 57.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.9667, allocations: 2.253 MB / 1.068 GB, free: 55.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008794/0.9676, allocations: 0.721 MB / 1.069 GB, free: 55.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.9677, allocations: 15.77 kB / 1.069 GB, free: 55.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.9677, allocations: 50.31 kB / 1.069 GB, free: 55.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=62): time 2.885e-06/0.9678, allocations: 0 / 1.069 GB, free: 55.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68): time 0.00505/0.9728, allocations: 4.195 MB / 1.073 GB, free: 52.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.9729, allocations: 244.2 kB / 1.074 GB, free: 52.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.9743, allocations: 1.112 MB / 1.075 GB, free: 51.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.9744, allocations: 36.64 kB / 1.075 GB, free: 51.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/0.9749, allocations: 1.189 MB / 1.076 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.9751, allocations: 252.9 kB / 1.076 GB, free: 50.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.9755, allocations: 334 kB / 1.076 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.9756, allocations: 345.3 kB / 1.077 GB, free: 50.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.9765, allocations: 0.7137 MB / 1.077 GB, free: 50 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.9777, allocations: 1.402 MB / 1.079 GB, free: 48.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.9799, allocations: 2.157 MB / 1.081 GB, free: 47.4 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.9799, allocations: 9.812 kB / 1.081 GB, free: 47.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003225/0.9832, allocations: 2.183 MB / 1.083 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.9832, allocations: 16.28 kB / 1.083 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.9833, allocations: 27.47 kB / 1.083 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.074e-05/0.9833, allocations: 33.06 kB / 1.083 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.9847, allocations: 433.2 kB / 1.084 GB, free: 46.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.145e-05/0.9848, allocations: 49.48 kB / 1.084 GB, free: 46.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.9862, allocations: 200.8 kB / 1.084 GB, free: 46.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.9864, allocations: 83.25 kB / 1.084 GB, free: 46.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002506/0.9889, allocations: 1.547 MB / 1.085 GB, free: 46.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009885/0.9899, allocations: 1.324 MB / 1.087 GB, free: 44.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00171/0.9916, allocations: 1.978 MB / 1.089 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.848e-06/0.9916, allocations: 10.94 kB / 1.089 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002587/0.9942, allocations: 1.982 MB / 1.091 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.9942, allocations: 17.19 kB / 1.091 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.9943, allocations: 24.03 kB / 1.091 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.9943, allocations: 39.38 kB / 1.091 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9954, allocations: 392.6 kB / 1.091 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/0.9955, allocations: 52.56 kB / 1.091 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.9966, allocations: 151.6 kB / 1.091 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/0.9967, allocations: 85.36 kB / 1.091 GB, free: 42.78 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.9971, allocations: 285.9 kB / 1.092 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.9974, allocations: 108.7 kB / 1.092 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.9988, allocations: 1.1 MB / 1.093 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.9988, allocations: 10.69 kB / 1.093 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.9989, allocations: 0 / 1.093 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.9989, allocations: 10.03 kB / 1.093 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/1.011, allocations: 10.17 MB / 1.103 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.011, allocations: 20.06 kB / 1.103 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/1.011, allocations: 189.8 kB / 1.103 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/1.011, allocations: 22.53 kB / 1.103 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/1.011, allocations: 34 kB / 1.103 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.401e-05/1.011, allocations: 34.03 kB / 1.103 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.979e-05/1.011, allocations: 26.84 kB / 1.103 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/1.014, allocations: 3.524 MB / 1.106 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/1.015, allocations: 323.1 kB / 1.107 GB, free: 35.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.015, allocations: 33.66 kB / 1.107 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/1.016, allocations: 98.78 kB / 1.107 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.016, allocations: 103.7 kB / 1.107 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/1.016, allocations: 39.66 kB / 1.107 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009196/1.017, allocations: 0.7726 MB / 1.108 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 1.108 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003538/1.021, allocations: 0.7226 MB / 1.108 GB, free: 34.74 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/1.021, allocations: 152.2 kB / 1.109 GB, free: 34.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003415/1.024, allocations: 2.484 MB / 1.111 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.024, allocations: 7.938 kB / 1.111 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006439/1.025, allocations: 0.5635 MB / 1.112 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.027, allocations: 244.6 kB / 1.112 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008058/1.035, allocations: 5.943 MB / 1.118 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/1.037, allocations: 2.032 MB / 1.12 GB, free: 29.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002042/1.039, allocations: 0.8535 MB / 1.12 GB, free: 29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/1.039, allocations: 88.66 kB / 1.12 GB, free: 28.99 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/1.039, allocations: 0 / 1.12 GB, free: 28.99 MB / 0.7448 GB Notification: Performance of Templates: time 0.03124/1.07, allocations: 14.25 MB / 1.134 GB, free: 28.27 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)