Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001543/0.001543, allocations: 108.2 kB / 15.99 MB, free: 6.355 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.001711/0.001711, allocations: 195 kB / 16.91 MB, free: 6.188 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.285/1.285, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 294.4 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 169.2 MB / 0.4985 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 94.61 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.157, allocations: 86.98 MB / 0.6803 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003678/0.1607, allocations: 2.665 MB / 0.6829 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1627, allocations: 1.414 MB / 0.6843 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.1628, allocations: 0 / 0.6843 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.1634, allocations: 163.3 kB / 0.6844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1636, allocations: 119.6 kB / 0.6845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.164, allocations: 171.6 kB / 0.6847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.1643, allocations: 215.3 kB / 0.6849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.1646, allocations: 145.2 kB / 0.685 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1647, allocations: 87.67 kB / 0.6851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1649, allocations: 115.6 kB / 0.6852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.1649, allocations: 15.98 kB / 0.6852 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.1652, allocations: 179.6 kB / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.1653, allocations: 59.88 kB / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.1653, allocations: 79.59 kB / 0.6856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.1656, allocations: 215.5 kB / 0.6858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1656, allocations: 0 / 0.6858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1656, allocations: 0 / 0.6858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1656, allocations: 0 / 0.6858 GB, free: 2.918 MB / 494.1 MB 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.0005902/0.1662, allocations: 479.1 kB / 0.6862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1663, allocations: 8.031 kB / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.1668, allocations: 60.69 kB / 0.6863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.167, allocations: 224.1 kB / 0.6865 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.167, allocations: 12.64 kB / 0.6865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.167, allocations: 16.36 kB / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.1674, allocations: 279.6 kB / 0.6868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1675, allocations: 3.938 kB / 0.6868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1675, allocations: 11.98 kB / 0.6868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.1675, allocations: 16.22 kB / 0.6868 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.1678, allocations: 212.5 kB / 0.687 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2791/0.447, allocations: 1.579 MB / 0.6886 GB, free: 17.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.4475, allocations: 317.8 kB / 0.6889 GB, free: 17.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4476, allocations: 64.55 kB / 0.6889 GB, free: 17.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.4476, allocations: 2.547 kB / 0.6889 GB, free: 17.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4476, allocations: 35.88 kB / 0.689 GB, free: 17.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.4476, allocations: 0 / 0.689 GB, free: 17.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000608/0.4482, allocations: 244.4 kB / 0.6892 GB, free: 17.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.4483, allocations: 79.11 kB / 0.6893 GB, free: 17.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.4485, allocations: 200 kB / 0.6895 GB, free: 17.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.4485, allocations: 27.2 kB / 0.6895 GB, free: 16.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.4486, allocations: 155.6 kB / 0.6896 GB, free: 16.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.4486, allocations: 43.3 kB / 0.6897 GB, free: 16.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.4487, allocations: 45.78 kB / 0.6897 GB, free: 16.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.4488, allocations: 327 kB / 0.69 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4489, allocations: 74 kB / 0.6901 GB, free: 16.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.449, allocations: 157.8 kB / 0.6903 GB, free: 16.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.4493, allocations: 235.8 kB / 0.6905 GB, free: 16.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4493, allocations: 1.875 kB / 0.6905 GB, free: 16.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003986/0.4497, allocations: 260.9 kB / 0.6907 GB, free: 16.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4497, allocations: 5.75 kB / 0.6907 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4497, allocations: 5.188 kB / 0.6907 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4498, allocations: 4.438 kB / 0.6907 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.45, allocations: 52.62 kB / 0.6908 GB, free: 16.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.45, allocations: 11.91 kB / 0.6908 GB, free: 16.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.4502, allocations: 12.48 kB / 0.6908 GB, free: 16.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.4502, allocations: 12.23 kB / 0.6908 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001554/0.4504, allocations: 162.8 kB / 0.691 GB, free: 16.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001243/0.4505, allocations: 145.8 kB / 0.6911 GB, free: 16.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002617/0.4508, allocations: 214.4 kB / 0.6913 GB, free: 15.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.4508, allocations: 0.625 kB / 0.6913 GB, free: 15.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003375/0.4511, allocations: 247.1 kB / 0.6916 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.4512, allocations: 10.72 kB / 0.6916 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4512, allocations: 4.344 kB / 0.6916 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.4512, allocations: 4.438 kB / 0.6916 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.4514, allocations: 54.61 kB / 0.6916 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4514, allocations: 5.25 kB / 0.6916 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.4515, allocations: 13.22 kB / 0.6917 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.4515, allocations: 9.953 kB / 0.6917 GB, free: 15.83 MB / 494.1 MB 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 7.763e-05/0.4516, allocations: 192.3 kB / 0.6918 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.4517, allocations: 23.59 kB / 0.6919 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.4519, allocations: 146.2 kB / 0.692 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4519, allocations: 1 kB / 0.692 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.452, allocations: 2 kB / 0.692 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.452, allocations: 5.875 kB / 0.692 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.4528, allocations: 0.7154 MB / 0.6927 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4528, allocations: 6.188 kB / 0.6927 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.453, allocations: 27.06 kB / 0.6927 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.453, allocations: 4.766 kB / 0.6928 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.453, allocations: 8.484 kB / 0.6928 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.453, allocations: 7.562 kB / 0.6928 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.453, allocations: 3.125 kB / 0.6928 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.4532, allocations: 375.5 kB / 0.6931 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.4533, allocations: 112.7 kB / 0.6932 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.4534, allocations: 8.703 kB / 0.6932 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.4535, allocations: 12.55 kB / 0.6933 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.4536, allocations: 17.89 kB / 0.6933 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4536, allocations: 5.312 kB / 0.6933 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.4537, allocations: 154.6 kB / 0.6934 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4537, allocations: 0 / 0.6934 GB, free: 14.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005005/0.4542, allocations: 68.86 kB / 0.6935 GB, free: 14.43 MB / 494.1 MB 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.0001197/0.4544, allocations: 101.5 kB / 0.6936 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.4548, allocations: 274.8 kB / 0.6939 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4548, allocations: 0 / 0.6939 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.4549, allocations: 58.33 kB / 0.6939 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.4554, allocations: 37.33 kB / 0.6939 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000666/0.4561, allocations: 0.5107 MB / 0.6944 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.4563, allocations: 0.7407 MB / 0.6952 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.4563, allocations: 22.17 kB / 0.6952 GB, free: 13.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4563, allocations: 0.9375 kB / 0.6952 GB, free: 13.11 MB / 494.1 MB Notification: Performance of Templates: time 0.004457/0.4608, allocations: 2.218 MB / 0.6974 GB, free: 12.97 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)