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.0001932/0.0001932, 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.0001568/0.0001568, 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.1/0.1, 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.003365/0.003365, 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 8.71e-07/8.71e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.021e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SolarPyramidBatteryCharge): time 0.01553/0.01555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007841/0.02339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0009896/0.02438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001663/0.02604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002403/0.02844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.03036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003177/0.03354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.03548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.03865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.04025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000406/0.04065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.04108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0007788/0.04186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00121/0.04307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003144/0.04622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0004221/0.04664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.475e-06/0.04664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.639e-05/0.04666, 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.004936/0.05159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000215/0.05181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005643/0.05237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.05453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.05477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.05506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.05763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.05769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.05788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.05795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.05915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009696/0.06885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.07019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.07068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.07073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006227/0.07135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=126): time 7.965e-06/0.07136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=126): time 0.003846/0.0752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.07529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.07648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000142/0.07663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0006915/0.07732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.07764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004828/0.07812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 9.938e-06/0.07813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.07852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.07903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.08009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.08011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=226) (initialization): time 0.00209/0.0822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.08226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.08228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0008408/0.08312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.08439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.08698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/0.08787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.08803, 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.0006301/0.08866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.08887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.09067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.09068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.09069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.0907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/0.0944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.09441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.09494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.0962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.09631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.0976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.0976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.09952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.1001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005641/0.1007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/0.1014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.1016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006284/0.1023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.903e-05/0.1024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001644/0.104, 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.0005683/0.1046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001715/0.1063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.831e-05/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0007979/0.1072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.1086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.1132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.1137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005967/0.1143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/0.115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.416e-05/0.115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005117/0.1202, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.1402238858863711]