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.001121/0.001121, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01123/0.01123, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.986/1.986, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0008421/0.0008422, allocations: 16.28 kB / 0.6743 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3485, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003766/0.3523, allocations: 2.341 MB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.3552, allocations: 1.443 MB / 0.7916 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3554, allocations: 3.938 kB / 0.7916 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3556, allocations: 23.84 kB / 0.7916 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.3562, allocations: 123.5 kB / 0.7917 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.3567, allocations: 175.6 kB / 0.7919 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.3571, allocations: 311.2 kB / 0.7922 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.3576, allocations: 234.3 kB / 0.7924 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3578, allocations: 75.7 kB / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.358, allocations: 103.6 kB / 0.7926 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3581, allocations: 7.938 kB / 0.7926 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.3584, allocations: 219.5 kB / 0.7928 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.3585, allocations: 59.81 kB / 0.7929 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3586, allocations: 93.31 kB / 0.7929 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.359, allocations: 291 kB / 0.7932 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.359, allocations: 4 kB / 0.7932 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.359, allocations: 0 / 0.7932 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.359, allocations: 0 / 0.7932 GB, free: 6.059 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.0008517/0.3599, allocations: 439.2 kB / 0.7936 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3599, allocations: 8.031 kB / 0.7936 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005246/0.3605, allocations: 68.59 kB / 0.7937 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3607, allocations: 220.1 kB / 0.7939 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3608, allocations: 16.64 kB / 0.7939 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.3608, allocations: 12.38 kB / 0.794 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.3613, allocations: 283.6 kB / 0.7942 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3613, allocations: 3.938 kB / 0.7942 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3614, allocations: 11.98 kB / 0.7942 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.3614, allocations: 16.22 kB / 0.7943 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.3617, allocations: 204.5 kB / 0.7944 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.3635, allocations: 1.58 MB / 0.796 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.3639, allocations: 327.3 kB / 0.7963 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.364, allocations: 65.78 kB / 0.7964 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.364, allocations: 3.984 kB / 0.7964 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.3641, allocations: 34.56 kB / 0.7964 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.3641, allocations: 0 / 0.7964 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005338/0.3646, allocations: 236.7 kB / 0.7966 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3647, allocations: 85.14 kB / 0.7967 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.3649, allocations: 200.5 kB / 0.7969 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3649, allocations: 33.64 kB / 0.7969 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.365, allocations: 151.7 kB / 0.7971 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.365, allocations: 39.47 kB / 0.7971 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3652, allocations: 29.7 kB / 0.7971 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3653, allocations: 318.8 kB / 0.7974 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3654, allocations: 71.95 kB / 0.7975 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3655, allocations: 158.9 kB / 0.7977 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.3659, allocations: 238.9 kB / 0.7979 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3659, allocations: 0 / 0.7979 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004457/0.3663, allocations: 253.5 kB / 0.7981 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.3667, allocations: 187.2 kB / 0.7983 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3667, allocations: 0 / 0.7983 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3667, allocations: 8 kB / 0.7983 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.367, allocations: 47.91 kB / 0.7984 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.367, allocations: 7.938 kB / 0.7984 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.3672, allocations: 23.92 kB / 0.7984 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3672, allocations: 8 kB / 0.7984 GB, free: 240 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.3672, allocations: 4 kB / 0.7984 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002884/0.3675, allocations: 191.7 kB / 0.7986 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3676, allocations: 4 kB / 0.7986 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.3676, allocations: 12.31 kB / 0.7986 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3677, allocations: 43.97 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3678, allocations: 7.938 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3679, allocations: 19.92 kB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3679, allocations: 8 kB / 0.7987 GB, free: 15.95 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.3681, allocations: 221 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.3681, allocations: 15.81 kB / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.3685, allocations: 147.4 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3685, allocations: 8 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3685, allocations: 3.938 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3685, allocations: 4.031 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009483/0.3695, allocations: 0.7234 MB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3695, allocations: 0 / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.3696, allocations: 23.98 kB / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3696, allocations: 4 kB / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3696, allocations: 4 kB / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.3696, allocations: 11.92 kB / 0.7998 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3696, allocations: 0 / 0.7998 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3699, allocations: 382.5 kB / 0.8002 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.37, allocations: 101.1 kB / 0.8003 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.3701, allocations: 11.98 kB / 0.8003 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3702, allocations: 4 kB / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.3703, allocations: 19.92 kB / 0.8003 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3703, allocations: 8 kB / 0.8003 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001273/0.3704, allocations: 156.7 kB / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3704, allocations: 3.938 kB / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004854/0.3709, allocations: 68 kB / 0.8005 GB, free: 13.88 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 (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.0001455/0.371, allocations: 107.2 kB / 0.8006 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.3715, allocations: 264.7 kB / 0.8009 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3715, allocations: 0 / 0.8009 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.321e-05/0.3716, allocations: 65.39 kB / 0.801 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.3721, allocations: 32.05 kB / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.3728, allocations: 499.3 kB / 0.8015 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3732, allocations: 0.7362 MB / 0.8022 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000185/0.3734, allocations: 77.45 kB / 0.8023 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.3734, allocations: 19.44 kB / 0.8023 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of SimCode: time 4.5e-07/0.3734, allocations: 0 / 0.8023 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.004513/0.3779, allocations: 1.657 MB / 0.8039 GB, free: 10.38 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: