Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002279/0.0002279, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0001812/0.0001812, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1033/0.1033, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.004626/0.004626, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,startTime=0,stopTime=500,tolerance=1e-06,numberOfIntervals=20000,outputFormat="empty",variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,startTime=0,stopTime=500,tolerance=1e-06,numberOfIntervals=20000,outputFormat="empty",variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.239e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SolarPyramidBatteryCharge): time 0.01557/0.01558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00798/0.02356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.02468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001711/0.02639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002639/0.02903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.03109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003391/0.03448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.03655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.03998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.04172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0004199/0.04214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.04259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000821/0.04341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001264/0.04467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003444/0.04812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0004474/0.04857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.565e-06/0.04857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.76e-05/0.04859, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 702 * Number of variables: 702 Notification: Performance of Generate backend data structure: time 0.005035/0.05362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.00018/0.0538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005724/0.05437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.05665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.05689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/0.05719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.05993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.05999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.06022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/0.06028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.06156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.07316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.07464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.07517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.07521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000644/0.07585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=126): time 9.157e-06/0.07586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=126): time 0.003829/0.07969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.07978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.08099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.08112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0007794/0.0819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.08224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005787/0.08282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.789e-05/0.08284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.08329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.08393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.08524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.08526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=226) (initialization): time 0.00229/0.08755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.08762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.08765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0008584/0.08851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.08964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.09236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/0.09335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.09352, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 44 (solarPyramid.dcConverter4.mpTracker.signv,$PRE.solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.counter,$PRE.solarPyramid.dcConverter4.mpTracker.counter,solarPyramid.dcConverter3.mpTracker.signv,$PRE.solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.counter,$PRE.solarPyramid.dcConverter3.mpTracker.counter,solarPyramid.dcConverter2.mpTracker.signv,$PRE.solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.counter,$PRE.solarPyramid.dcConverter2.mpTracker.counter,solarPyramid.dcConverter1.mpTracker.signv,$PRE.solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.counter,$PRE.solarPyramid.dcConverter1.mpTracker.counter,solarPyramid.dcConverter4.mpTracker.sampleTrigger,$whenCondition4,solarPyramid.dcConverter3.mpTracker.sampleTrigger,$whenCondition3,solarPyramid.dcConverter2.mpTracker.sampleTrigger,$whenCondition2,solarPyramid.dcConverter1.mpTracker.sampleTrigger,$whenCondition1,solarPyramid.dcConverter1.converter.integrator.local_reset,solarPyramid.dcConverter2.converter.integrator.local_reset,solarPyramid.dcConverter3.converter.integrator.local_reset,solarPyramid.dcConverter4.converter.integrator.local_reset,solarPyramid.dcConverter4.mpTracker.vRef,$PRE.solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.vRef,$PRE.solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.vRef,$PRE.solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter1.mpTracker.vRef,$PRE.solarPyramid.dcConverter1.mpTracker.vRef) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008689/0.09439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.09462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.09655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.09656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.09657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.09658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.1006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.1006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.1011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.1024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.1025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.1039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/0.1067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006214/0.1074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.1081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.1083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.1084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0007739/0.1092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.197e-05/0.1093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001871/0.1111, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (solarPyramid.dcConverter1.converter.integrator.y,solarPyramid.dcConverter2.converter.integrator.y,solarPyramid.dcConverter3.converter.integrator.y,solarPyramid.dcConverter4.converter.integrator.y) * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.sampleTrigger,solarPyramid.dcConverter1.mpTracker.counter,solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.sampleTrigger,solarPyramid.dcConverter2.mpTracker.counter,solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.sampleTrigger,solarPyramid.dcConverter3.mpTracker.counter,solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.sampleTrigger,solarPyramid.dcConverter4.mpTracker.counter,solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.vRef) * Number of discrete states: 28 (solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.counter,$whenCondition4,solarPyramid.dcConverter4.mpTracker.sampleTrigger,solarPyramid.dcConverter4.mpTracker.power,solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.counter,$whenCondition3,solarPyramid.dcConverter3.mpTracker.sampleTrigger,solarPyramid.dcConverter3.mpTracker.power,solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.counter,$whenCondition2,solarPyramid.dcConverter2.mpTracker.sampleTrigger,solarPyramid.dcConverter2.mpTracker.power,solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.counter,$whenCondition1,solarPyramid.dcConverter1.mpTracker.sampleTrigger,solarPyramid.dcConverter1.mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000647/0.1118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001812/0.1136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.824e-05/0.1137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0007991/0.1145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.1211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.1216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006073/0.1222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/0.1229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.329e-05/0.123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005874/0.1289, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.1629971046932042]