Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 106.9 kB / 16.64 MB, free: 6.805 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.001228/0.001228, allocations: 193.9 kB / 17.57 MB, free: 5.922 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.381/1.381, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 122.8 MB / 414.2 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 0.4913 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3751, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004319/0.3795, allocations: 3.061 MB / 0.5703 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.3822, allocations: 1.875 MB / 0.5722 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3824, allocations: 4.812 kB / 0.5722 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.3832, allocations: 233.9 kB / 0.5724 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.3837, allocations: 191.1 kB / 0.5726 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.3844, allocations: 230 kB / 0.5728 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.385, allocations: 390.7 kB / 0.5732 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.3855, allocations: 236.9 kB / 0.5734 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.3858, allocations: 158.5 kB / 0.5735 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.3861, allocations: 190.1 kB / 0.5737 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.3861, allocations: 26.69 kB / 0.5737 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.3867, allocations: 282.3 kB / 0.574 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3868, allocations: 101.5 kB / 0.5741 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3869, allocations: 144.2 kB / 0.5742 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.3875, allocations: 377.3 kB / 0.5746 GB, free: 28.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3875, allocations: 3.938 kB / 0.5746 GB, free: 28.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3875, allocations: 1.188 kB / 0.5746 GB, free: 28.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3875, allocations: 0 / 0.5746 GB, free: 28.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00121/0.3887, allocations: 0.6408 MB / 0.5752 GB, free: 27.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3888, allocations: 9.656 kB / 0.5752 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.3898, allocations: 117.6 kB / 0.5754 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3901, allocations: 287.6 kB / 0.5756 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3901, allocations: 17.47 kB / 0.5757 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.3902, allocations: 18.53 kB / 0.5757 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.3911, allocations: 429.7 kB / 0.5761 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3911, allocations: 1.75 kB / 0.5761 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.3911, allocations: 11.23 kB / 0.5761 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.3912, allocations: 26.77 kB / 0.5761 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009803/0.3922, allocations: 402.3 kB / 0.5765 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.3939, allocations: 1.621 MB / 0.5781 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.3952, allocations: 486.5 kB / 0.5785 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.3957, allocations: 197.5 kB / 0.5787 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.3958, allocations: 91.97 kB / 0.5788 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/0.3964, allocations: 271.1 kB / 0.5791 GB, free: 25.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.295e-06/0.3964, allocations: 0 / 0.5791 GB, free: 25.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002016/0.3984, allocations: 0.7629 MB / 0.5798 GB, free: 25.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3985, allocations: 81.78 kB / 0.5799 GB, free: 24.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3987, allocations: 225.7 kB / 0.5801 GB, free: 24.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3987, allocations: 32.39 kB / 0.5802 GB, free: 24.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.3988, allocations: 165 kB / 0.5803 GB, free: 24.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.3989, allocations: 95.52 kB / 0.5804 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3991, allocations: 68.59 kB / 0.5805 GB, free: 24.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.3991, allocations: 332.2 kB / 0.5808 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.3996, allocations: 185.9 kB / 0.581 GB, free: 24.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.4, allocations: 254.6 kB / 0.5812 GB, free: 23.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.4009, allocations: 463.6 kB / 0.5816 GB, free: 23.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4009, allocations: 3.984 kB / 0.5816 GB, free: 23.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00119/0.4021, allocations: 0.5449 MB / 0.5822 GB, free: 23.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.4022, allocations: 36.19 kB / 0.5822 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4022, allocations: 2.938 kB / 0.5822 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.4024, allocations: 38.17 kB / 0.5823 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.4029, allocations: 90.81 kB / 0.5823 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.404, allocations: 1.607 MB / 0.5839 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.4044, allocations: 54.11 kB / 0.584 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.4045, allocations: 15.27 kB / 0.584 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000501/0.405, allocations: 283.7 kB / 0.5842 GB, free: 21.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004229/0.4055, allocations: 242.7 kB / 0.5845 GB, free: 21.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008096/0.4063, allocations: 450.9 kB / 0.5849 GB, free: 20.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.4063, allocations: 0 / 0.5849 GB, free: 20.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001109/0.4074, allocations: 0.528 MB / 0.5854 GB, free: 20.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4074, allocations: 36.69 kB / 0.5855 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4075, allocations: 2.938 kB / 0.5855 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.4076, allocations: 41.23 kB / 0.5855 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.408, allocations: 92.83 kB / 0.5856 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.4091, allocations: 1.605 MB / 0.5872 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.4095, allocations: 47.17 kB / 0.5872 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.4095, allocations: 16.02 kB / 0.5872 GB, free: 18.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.4097, allocations: 202.3 kB / 0.5874 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.4098, allocations: 23.78 kB / 0.5874 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.4109, allocations: 484.5 kB / 0.5879 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4109, allocations: 2.906 kB / 0.5879 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4109, allocations: 1.219 kB / 0.5879 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4109, allocations: 0.9375 kB / 0.5879 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.4115, allocations: 0.5734 MB / 0.5885 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4116, allocations: 0 / 0.5885 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.4119, allocations: 72.98 kB / 0.5885 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.4121, allocations: 42.7 kB / 0.5886 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4121, allocations: 14.33 kB / 0.5886 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/0.413, allocations: 1.526 MB / 0.5901 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.413, allocations: 1.281 kB / 0.5901 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.414, allocations: 0.5379 MB / 0.5906 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4141, allocations: 131.5 kB / 0.5907 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.4142, allocations: 6.344 kB / 0.5907 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.4145, allocations: 42.77 kB / 0.5908 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4147, allocations: 29.97 kB / 0.5908 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.4147, allocations: 9.719 kB / 0.5908 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.4149, allocations: 181.3 kB / 0.591 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4149, allocations: 0 / 0.591 GB, free: 15.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007141/0.4156, allocations: 126.6 kB / 0.5911 GB, free: 15.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.4158, allocations: 124.5 kB / 0.5912 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.4178, allocations: 1.016 MB / 0.5922 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4178, allocations: 0 / 0.5922 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.4184, allocations: 327.9 kB / 0.5925 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.4189, allocations: 47 kB / 0.5926 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4202, allocations: 0.7583 MB / 0.5933 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.4204, allocations: 0.7838 MB / 0.5941 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.4206, allocations: 37.42 kB / 0.5941 GB, free: 13.34 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4206, allocations: 0 / 0.5941 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Templates: time 0.007709/0.4283, allocations: 5.229 MB / 0.5992 GB, free: 9.156 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)