Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001232/0.001232, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.256/1.256, allocations: 222.9 MB / 240.6 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 291.9 kB / 291 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.2 MB / 0.4985 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 93.17 kB / 0.5954 GB, free: 4.488 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1557, allocations: 86.96 MB / 0.6803 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003942/0.1597, allocations: 2.479 MB / 0.6827 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1619, allocations: 1.414 MB / 0.6841 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.162, allocations: 0 / 0.6841 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006398/0.1626, allocations: 163.4 kB / 0.6842 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.1629, allocations: 119.6 kB / 0.6843 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1633, allocations: 171.6 kB / 0.6845 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.1636, allocations: 211.3 kB / 0.6847 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.1639, allocations: 141.2 kB / 0.6848 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1641, allocations: 87.69 kB / 0.6849 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1643, allocations: 111.6 kB / 0.685 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1643, allocations: 12 kB / 0.685 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.1646, allocations: 191.6 kB / 0.6852 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.1647, allocations: 59.88 kB / 0.6853 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.1648, allocations: 75.59 kB / 0.6854 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.165, allocations: 215.5 kB / 0.6856 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.165, allocations: 4 kB / 0.6856 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1651, allocations: 0 / 0.6856 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1651, allocations: 0 / 0.6856 GB, free: 8.07 MB / 0.5294 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.0006406/0.1657, allocations: 475.2 kB / 0.686 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1657, allocations: 12.02 kB / 0.686 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.1662, allocations: 60.69 kB / 0.6861 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1665, allocations: 228 kB / 0.6863 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1665, allocations: 8.656 kB / 0.6863 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.1665, allocations: 20.36 kB / 0.6863 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.167, allocations: 279.6 kB / 0.6866 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.167, allocations: 3.938 kB / 0.6866 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.167, allocations: 8 kB / 0.6866 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.167, allocations: 16.22 kB / 0.6866 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.1674, allocations: 208.5 kB / 0.6868 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.169, allocations: 1.58 MB / 0.6884 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.1694, allocations: 323.3 kB / 0.6887 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.1695, allocations: 65.67 kB / 0.6887 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1695, allocations: 0 / 0.6887 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1695, allocations: 38.5 kB / 0.6888 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.1695, allocations: 3.938 kB / 0.6888 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005111/0.17, allocations: 240.9 kB / 0.689 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1701, allocations: 85.14 kB / 0.6891 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1703, allocations: 196 kB / 0.6893 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1703, allocations: 29.7 kB / 0.6893 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.1704, allocations: 159.5 kB / 0.6895 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.1705, allocations: 31.55 kB / 0.6895 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.1705, allocations: 53.61 kB / 0.6895 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1707, allocations: 326.8 kB / 0.6899 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1708, allocations: 72.95 kB / 0.6899 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1709, allocations: 159.2 kB / 0.6901 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1712, allocations: 242.9 kB / 0.6903 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1712, allocations: 0 / 0.6903 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003656/0.1716, allocations: 257.4 kB / 0.6906 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1716, allocations: 8 kB / 0.6906 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1716, allocations: 4 kB / 0.6906 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1716, allocations: 7.938 kB / 0.6906 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1719, allocations: 47.91 kB / 0.6906 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1719, allocations: 4 kB / 0.6906 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1721, allocations: 19.89 kB / 0.6906 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1721, allocations: 19.98 kB / 0.6907 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001495/0.1722, allocations: 156.1 kB / 0.6908 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001373/0.1724, allocations: 148.1 kB / 0.6909 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002174/0.1726, allocations: 219.8 kB / 0.6912 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/0.1726, allocations: 4 kB / 0.6912 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003085/0.1729, allocations: 237.4 kB / 0.6914 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.1729, allocations: 8 kB / 0.6914 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.173, allocations: 4 kB / 0.6914 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.173, allocations: 4 kB / 0.6914 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1731, allocations: 47.91 kB / 0.6915 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1731, allocations: 7.938 kB / 0.6915 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1733, allocations: 12 kB / 0.6915 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1733, allocations: 15.98 kB / 0.6915 GB, free: 1.441 MB / 0.5294 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.0001021/0.1734, allocations: 196.3 kB / 0.6917 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.1735, allocations: 15.81 kB / 0.6917 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.1737, allocations: 139 kB / 0.6918 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1737, allocations: 3.938 kB / 0.6918 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1737, allocations: 0 / 0.6918 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1737, allocations: 7.922 kB / 0.6918 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/0.1746, allocations: 0.7196 MB / 0.6925 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1746, allocations: 4 kB / 0.6925 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1747, allocations: 23.98 kB / 0.6926 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1747, allocations: 4.281 kB / 0.6926 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1747, allocations: 8 kB / 0.6926 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.1747, allocations: 7.938 kB / 0.6926 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1747, allocations: 4 kB / 0.6926 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.175, allocations: 386.1 kB / 0.693 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.1751, allocations: 100.9 kB / 0.693 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1752, allocations: 8 kB / 0.6931 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1753, allocations: 19.98 kB / 0.6931 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.1754, allocations: 15.86 kB / 0.6931 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1754, allocations: 8 kB / 0.6931 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001199/0.1755, allocations: 149.1 kB / 0.6932 GB, free: 15.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1755, allocations: 0 / 0.6932 GB, free: 15.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004529/0.176, allocations: 64 kB / 0.6933 GB, free: 15.41 MB / 0.545 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.0001404/0.1761, allocations: 117.9 kB / 0.6934 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.1765, allocations: 269.4 kB / 0.6937 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1765, allocations: 0 / 0.6937 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/0.1766, allocations: 64.41 kB / 0.6937 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.177, allocations: 40.75 kB / 0.6938 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.1777, allocations: 0.5043 MB / 0.6943 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.178, allocations: 0.7323 MB / 0.695 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.1781, allocations: 19.44 kB / 0.695 GB, free: 13.59 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.1781, allocations: 0 / 0.695 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Templates: time 0.003617/0.1817, allocations: 2.215 MB / 0.6972 GB, free: 11.38 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)