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.008741/0.008741, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001331/0.001331, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 289.8 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.938/0.938, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.153, allocations: 86.97 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003784/0.1568, allocations: 2.43 MB / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1591, allocations: 1.418 MB / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1592, allocations: 0 / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.1599, allocations: 175.2 kB / 0.7703 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.1603, allocations: 135.3 kB / 0.7704 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.1608, allocations: 183.5 kB / 0.7706 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00032/0.1611, allocations: 215.4 kB / 0.7708 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.1615, allocations: 121 kB / 0.7709 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.1616, allocations: 95.61 kB / 0.771 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1619, allocations: 99.7 kB / 0.7711 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1619, allocations: 12 kB / 0.7711 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.1623, allocations: 187.6 kB / 0.7713 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.1624, allocations: 63.81 kB / 0.7714 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.573e-05/0.1625, allocations: 75.59 kB / 0.7714 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.1629, allocations: 286.9 kB / 0.7717 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.163, allocations: 0 / 0.7717 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.163, allocations: 0 / 0.7717 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.163, allocations: 0 / 0.7717 GB, free: 2.984 MB / 0.5606 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.0007314/0.1637, allocations: 486.7 kB / 0.7722 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1638, allocations: 8.031 kB / 0.7722 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000563/0.1643, allocations: 60.78 kB / 0.7722 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1646, allocations: 232 kB / 0.7725 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1646, allocations: 20.58 kB / 0.7725 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.1647, allocations: 12.38 kB / 0.7725 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.1651, allocations: 284.2 kB / 0.7728 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1651, allocations: 3.938 kB / 0.7728 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1652, allocations: 11.97 kB / 0.7728 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.1652, allocations: 16.23 kB / 0.7728 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.1656, allocations: 208.5 kB / 0.773 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3242/0.4897, allocations: 1.564 MB / 0.7745 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.4902, allocations: 318.8 kB / 0.7748 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4903, allocations: 62.16 kB / 0.7749 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4903, allocations: 3.922 kB / 0.7749 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4903, allocations: 37.34 kB / 0.7749 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.4903, allocations: 1.875 kB / 0.7749 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005856/0.4909, allocations: 250.5 kB / 0.7752 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.491, allocations: 80.03 kB / 0.7752 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.4912, allocations: 202.4 kB / 0.7754 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.4912, allocations: 26.3 kB / 0.7755 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.4913, allocations: 157.2 kB / 0.7756 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.4913, allocations: 43.38 kB / 0.7756 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.4914, allocations: 46.47 kB / 0.7757 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.4914, allocations: 328.6 kB / 0.776 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4915, allocations: 73.73 kB / 0.7761 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4917, allocations: 158.4 kB / 0.7762 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.4919, allocations: 230.8 kB / 0.7764 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4919, allocations: 2.422 kB / 0.7764 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003662/0.4923, allocations: 266.8 kB / 0.7767 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4923, allocations: 10.75 kB / 0.7767 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4923, allocations: 2.969 kB / 0.7767 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4924, allocations: 4.062 kB / 0.7767 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4926, allocations: 51.94 kB / 0.7768 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4926, allocations: 9.062 kB / 0.7768 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4928, allocations: 14.97 kB / 0.7768 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.4928, allocations: 14.38 kB / 0.7768 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001382/0.4929, allocations: 161.9 kB / 0.777 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001117/0.4931, allocations: 146.7 kB / 0.7771 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002034/0.4933, allocations: 213.7 kB / 0.7773 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.4933, allocations: 1.062 kB / 0.7773 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003132/0.4936, allocations: 241.5 kB / 0.7775 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.4936, allocations: 10.84 kB / 0.7775 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4936, allocations: 4.062 kB / 0.7775 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.82e-06/0.4936, allocations: 6.688 kB / 0.7776 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.4938, allocations: 52.61 kB / 0.7776 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4938, allocations: 6.062 kB / 0.7776 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.4939, allocations: 14.59 kB / 0.7776 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.494, allocations: 10.44 kB / 0.7776 GB, free: 12.65 MB / 0.5606 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 5.64e-05/0.494, allocations: 192.2 kB / 0.7778 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.4941, allocations: 19.36 kB / 0.7778 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.4943, allocations: 150.8 kB / 0.778 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4943, allocations: 2.188 kB / 0.778 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4943, allocations: 1.156 kB / 0.778 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4943, allocations: 1.125 kB / 0.778 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.4951, allocations: 0.7206 MB / 0.7787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4951, allocations: 3.562 kB / 0.7787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4952, allocations: 27.23 kB / 0.7787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4953, allocations: 3.562 kB / 0.7787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4953, allocations: 6.188 kB / 0.7787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4953, allocations: 5.047 kB / 0.7787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4953, allocations: 6.938 kB / 0.7787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.4955, allocations: 385.8 kB / 0.7791 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.4956, allocations: 107.5 kB / 0.7792 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.4956, allocations: 5.531 kB / 0.7792 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4958, allocations: 15.72 kB / 0.7792 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.4958, allocations: 15.66 kB / 0.7792 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.4958, allocations: 10.73 kB / 0.7793 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001051/0.4959, allocations: 148.5 kB / 0.7794 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4959, allocations: 0 / 0.7794 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004757/0.4964, allocations: 68.73 kB / 0.7795 GB, free: 11.32 MB / 0.5606 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.0001095/0.4965, allocations: 111.5 kB / 0.7796 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.4969, allocations: 266.9 kB / 0.7798 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4969, allocations: 5 kB / 0.7798 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.497, allocations: 63.08 kB / 0.7799 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.4975, allocations: 41.53 kB / 0.7799 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.4981, allocations: 422.5 kB / 0.7803 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.4983, allocations: 0.7339 MB / 0.781 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.4984, allocations: 73.95 kB / 0.7811 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.4985, allocations: 20.89 kB / 0.7811 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.4985, allocations: 0 / 0.7811 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.004151/0.5027, allocations: 1.792 MB / 0.7829 GB, free: 9.973 MB / 0.5606 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)