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.001582/0.001582, allocations: 109.7 kB / 16.41 MB, free: 6.52 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.001517/0.001517, allocations: 185.2 kB / 17.34 MB, free: 5.73 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002571/0.002571, allocations: 291 kB / 291.5 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 1.026/1.026, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 99.83 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4925, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003872/0.4964, allocations: 2.425 MB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.4988, allocations: 1.43 MB / 0.7708 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.4989, allocations: 4 kB / 0.7708 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.4996, allocations: 171.4 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.4999, allocations: 131.4 kB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.5003, allocations: 191.3 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.5006, allocations: 211.4 kB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.5008, allocations: 108.8 kB / 0.7716 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.501, allocations: 91.67 kB / 0.7717 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.5012, allocations: 103.6 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.5012, allocations: 12 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.5015, allocations: 175.7 kB / 0.772 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.5016, allocations: 63.8 kB / 0.772 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.5017, allocations: 79.61 kB / 0.7721 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.5021, allocations: 284.8 kB / 0.7724 GB, free: 14.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5021, allocations: 0 / 0.7724 GB, free: 14.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5021, allocations: 0 / 0.7724 GB, free: 14.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.5021, allocations: 0 / 0.7724 GB, free: 14.47 MB / 0.545 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.0007525/0.5029, allocations: 486.7 kB / 0.7728 GB, free: 13.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.5029, allocations: 12.03 kB / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.5034, allocations: 60.78 kB / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.5037, allocations: 232 kB / 0.7731 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5037, allocations: 12.66 kB / 0.7731 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.5038, allocations: 20.34 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.5042, allocations: 275.6 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5042, allocations: 11.94 kB / 0.7734 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.5043, allocations: 4 kB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.5043, allocations: 20.22 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.5047, allocations: 208.5 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.5065, allocations: 1.58 MB / 0.7752 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.5069, allocations: 307.3 kB / 0.7755 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.507, allocations: 65.61 kB / 0.7755 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.5071, allocations: 0 / 0.7755 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.5071, allocations: 34.56 kB / 0.7756 GB, free: 10.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.5071, allocations: 4 kB / 0.7756 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005661/0.5076, allocations: 253 kB / 0.7758 GB, free: 10.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.5077, allocations: 77.11 kB / 0.7759 GB, free: 10.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.5079, allocations: 200 kB / 0.7761 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.5079, allocations: 29.7 kB / 0.7761 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.508, allocations: 155.9 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.5081, allocations: 39.69 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.5082, allocations: 49.66 kB / 0.7763 GB, free: 10 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5083, allocations: 327 kB / 0.7767 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.5084, allocations: 76.75 kB / 0.7767 GB, free: 9.594 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.5086, allocations: 157.5 kB / 0.7769 GB, free: 9.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.5089, allocations: 230.9 kB / 0.7771 GB, free: 9.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5089, allocations: 0 / 0.7771 GB, free: 9.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004132/0.5093, allocations: 257.3 kB / 0.7773 GB, free: 8.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5094, allocations: 11.94 kB / 0.7774 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5094, allocations: 0 / 0.7774 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5094, allocations: 7.938 kB / 0.7774 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.5096, allocations: 55.89 kB / 0.7774 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5096, allocations: 7.938 kB / 0.7774 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.5098, allocations: 20.31 kB / 0.7774 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.5098, allocations: 12 kB / 0.7775 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001795/0.51, allocations: 168.1 kB / 0.7776 GB, free: 8.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001644/0.5101, allocations: 147.5 kB / 0.7778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002811/0.5104, allocations: 215.8 kB / 0.778 GB, free: 8.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.5104, allocations: 0 / 0.778 GB, free: 8.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003769/0.5108, allocations: 245.2 kB / 0.7782 GB, free: 7.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.5108, allocations: 6.5 kB / 0.7782 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.5108, allocations: 4 kB / 0.7782 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.5108, allocations: 4 kB / 0.7782 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.511, allocations: 51.91 kB / 0.7783 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.511, allocations: 7.938 kB / 0.7783 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.5111, allocations: 20.28 kB / 0.7783 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5112, allocations: 8 kB / 0.7783 GB, free: 7.816 MB / 0.545 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.0001212/0.5113, allocations: 204.1 kB / 0.7785 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.5113, allocations: 11.91 kB / 0.7785 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.5116, allocations: 147 kB / 0.7786 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-06/0.5116, allocations: 7.938 kB / 0.7787 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5116, allocations: 0 / 0.7787 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5116, allocations: 0 / 0.7787 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.5126, allocations: 0.7197 MB / 0.7794 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5126, allocations: 352 / 0.7794 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.5127, allocations: 35.91 kB / 0.7794 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5127, allocations: 4 kB / 0.7794 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5128, allocations: 4 kB / 0.7794 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5128, allocations: 4 kB / 0.7794 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5128, allocations: 0 / 0.7794 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.5131, allocations: 386.2 kB / 0.7798 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5132, allocations: 113 kB / 0.7799 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.5132, allocations: 8 kB / 0.7799 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.5134, allocations: 4 kB / 0.7799 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.5135, allocations: 23.86 kB / 0.7799 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.5135, allocations: 4 kB / 0.7799 GB, free: 5.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000143/0.5136, allocations: 149.1 kB / 0.7801 GB, free: 5.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5136, allocations: 0 / 0.7801 GB, free: 5.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005262/0.5141, allocations: 68 kB / 0.7801 GB, free: 5.785 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.0001423/0.5143, allocations: 115.2 kB / 0.7802 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.5147, allocations: 248.7 kB / 0.7805 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5147, allocations: 0 / 0.7805 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.5148, allocations: 64.22 kB / 0.7805 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.5153, allocations: 34.48 kB / 0.7806 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.516, allocations: 421.6 kB / 0.781 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.5164, allocations: 0.7402 MB / 0.7817 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.5166, allocations: 74 kB / 0.7818 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.5166, allocations: 15.44 kB / 0.7818 GB, free: 4.012 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.5166, allocations: 0 / 0.7818 GB, free: 4.012 MB / 0.545 GB Notification: Performance of Templates: time 0.005044/0.5217, allocations: 1.797 MB / 0.7835 GB, free: 2.23 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)