Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.001188/0.001188, allocations: 196.6 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 285.1 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9309/0.9309, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 97.8 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1506, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.2356/0.3862, allocations: 16.69 MB / 0.6979 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.3983, allocations: 6.262 MB / 0.704 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.4001, allocations: 49.53 kB / 0.7041 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.404, allocations: 1.3 MB / 0.7053 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.4067, allocations: 0.8439 MB / 0.7062 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004501/0.4112, allocations: 1.544 MB / 0.7077 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005417/0.4166, allocations: 3.847 MB / 0.7114 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008201/0.4248, allocations: 4.966 MB / 0.7163 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.4282, allocations: 1.65 MB / 0.7179 GB, free: 424 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.4325, allocations: 1.99 MB / 0.7198 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.4339, allocations: 379.8 kB / 0.7202 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.437, allocations: 0.8176 MB / 0.721 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003444/0.4405, allocations: 1.487 MB / 0.7224 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004596/0.4451, allocations: 1.538 MB / 0.7239 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009123/0.4542, allocations: 5.542 MB / 0.7294 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4542, allocations: 0 / 0.7294 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4542, allocations: 0 / 0.7294 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001745/0.4544, allocations: 1.219 kB / 0.7294 GB, free: 10.16 MB / 0.4981 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.009489/0.4639, allocations: 2.729 MB / 0.732 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.464, allocations: 9.75 kB / 0.732 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.4682, allocations: 0.7707 MB / 0.7328 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.4717, allocations: 1.428 MB / 0.7342 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.4718, allocations: 196.8 kB / 0.7344 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005652/0.4724, allocations: 250.8 kB / 0.7346 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006627/0.479, allocations: 4.591 MB / 0.7391 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/0.4791, allocations: 11.97 kB / 0.7391 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/0.4794, allocations: 110 kB / 0.7392 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.4796, allocations: 182.2 kB / 0.7394 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005683/0.4853, allocations: 3.831 MB / 0.7431 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02275/0.5081, allocations: 21.27 MB / 0.7639 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.5106, allocations: 2.25 MB / 0.7661 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/0.5115, allocations: 0.7227 MB / 0.7668 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.5116, allocations: 12.88 kB / 0.7668 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.5116, allocations: 42.5 kB / 0.7669 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.314e-06/0.5116, allocations: 0 / 0.7669 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.005297/0.5169, allocations: 4.205 MB / 0.771 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.517, allocations: 239.3 kB / 0.7712 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.5183, allocations: 1.117 MB / 0.7723 GB, free: 40 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.5184, allocations: 33.7 kB / 0.7723 GB, free: 0 / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008015/0.5193, allocations: 1.195 MB / 0.7735 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.5195, allocations: 244.7 kB / 0.7737 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.5199, allocations: 339 kB / 0.774 GB, free: 14.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5201, allocations: 353.9 kB / 0.7744 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009296/0.521, allocations: 0.7074 MB / 0.7751 GB, free: 13.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.5225, allocations: 1.403 MB / 0.7764 GB, free: 11.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.5249, allocations: 2.155 MB / 0.7785 GB, free: 8.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.5249, allocations: 8 kB / 0.7785 GB, free: 8.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003034/0.528, allocations: 2.187 MB / 0.7807 GB, free: 6.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.528, allocations: 19.94 kB / 0.7807 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.528, allocations: 24 kB / 0.7807 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-05/0.5281, allocations: 32.78 kB / 0.7808 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.5295, allocations: 427.2 kB / 0.7812 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.422e-05/0.5295, allocations: 51.84 kB / 0.7812 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.5307, allocations: 187.4 kB / 0.7814 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.5308, allocations: 83.98 kB / 0.7815 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002053/0.5329, allocations: 1.542 MB / 0.783 GB, free: 4.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001353/0.5343, allocations: 1.325 MB / 0.7843 GB, free: 2.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00198/0.5362, allocations: 1.984 MB / 0.7862 GB, free: 364 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-05/0.5363, allocations: 8 kB / 0.7862 GB, free: 356 kB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002647/0.5389, allocations: 1.98 MB / 0.7881 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.539, allocations: 19.03 kB / 0.7882 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.539, allocations: 28 kB / 0.7882 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.539, allocations: 39.94 kB / 0.7882 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.5402, allocations: 387.3 kB / 0.7886 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.756e-05/0.5402, allocations: 55.78 kB / 0.7887 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009824/0.5412, allocations: 155.4 kB / 0.7888 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.5413, allocations: 83.98 kB / 0.7889 GB, free: 13.61 MB / 0.5606 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.0002715/0.5416, allocations: 287.6 kB / 0.7892 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.5419, allocations: 110.7 kB / 0.7893 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.5434, allocations: 1.089 MB / 0.7903 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5434, allocations: 11.98 kB / 0.7903 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5434, allocations: 4 kB / 0.7903 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.5434, allocations: 0 / 0.7903 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.5554, allocations: 10.19 MB / 0.8003 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.5554, allocations: 16 kB / 0.8003 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.556, allocations: 195.6 kB / 0.8005 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.5561, allocations: 24.03 kB / 0.8005 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.5561, allocations: 32 kB / 0.8005 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-05/0.5561, allocations: 27.92 kB / 0.8006 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/0.5562, allocations: 23.88 kB / 0.8006 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.5581, allocations: 2.166 MB / 0.8027 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.5586, allocations: 315.7 kB / 0.803 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.5588, allocations: 39.98 kB / 0.803 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009179/0.5597, allocations: 95.86 kB / 0.8031 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.5599, allocations: 103.5 kB / 0.8032 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.5599, allocations: 36 kB / 0.8033 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008985/0.5608, allocations: 0.7697 MB / 0.804 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5608, allocations: 0 / 0.804 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002627/0.5635, allocations: 0.7266 MB / 0.8047 GB, free: 12.85 MB / 0.5762 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.0001826/0.5637, allocations: 150.9 kB / 0.8049 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003159/0.5668, allocations: 2.523 MB / 0.8073 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5668, allocations: 0 / 0.8073 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000688/0.5675, allocations: 0.5687 MB / 0.8079 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.5694, allocations: 256.1 kB / 0.8081 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.5752, allocations: 4.401 MB / 0.8124 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.577, allocations: 2.003 MB / 0.8144 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001745/0.5788, allocations: 0.8597 MB / 0.8152 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.5791, allocations: 87.36 kB / 0.8153 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.5791, allocations: 7.938 kB / 0.8153 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of Templates: time 0.02318/0.6023, allocations: 14.33 MB / 0.8293 GB, free: 3.551 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)