Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007825/0.0007825, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [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.0007567/0.0007567, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [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.8676/0.8676, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.01692/0.01692, allocations: 4.217 MB / 264.2 MB, free: 9.152 MB / 250.7 MB " [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: translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 393 MB, free: 5.605 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.578e-05, allocations: 5.234 kB / 393 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005057/0.005083, allocations: 5.713 MB / 398.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.007754, allocations: 2.449 MB / 401.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.008077, allocations: 19.94 kB / 401.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.009415, allocations: 1.075 MB / 402.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008717/0.01029, allocations: 0.6211 MB / 402.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.0107, allocations: 363.2 kB / 403.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.01185, allocations: 1.187 MB / 404.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008493/0.0127, allocations: 0.8637 MB / 405.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.01328, allocations: 0.7133 MB / 406 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.01368, allocations: 442.7 kB / 406.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.01379, allocations: 128 kB / 406.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.01412, allocations: 295.6 kB / 406.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.01425, allocations: 259.1 kB / 407.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.0145, allocations: 379.1 kB / 407.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.0156, allocations: 1.542 MB / 409 MB, free: 5.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.0156, allocations: 0 / 409 MB, free: 5.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0156, allocations: 0 / 409 MB, free: 5.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.01562, allocations: 0 / 409 MB, free: 5.492 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002067/0.01768, allocations: 1.48 MB / 410.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.01772, allocations: 11.97 kB / 410.5 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.01876, allocations: 352 kB / 410.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008783/0.01964, allocations: 0.6129 MB / 411.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.01968, allocations: 74.38 kB / 411.5 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.01978, allocations: 92.33 kB / 411.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.02086, allocations: 1.042 MB / 412.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.02089, allocations: 0 / 412.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.02094, allocations: 36 kB / 412.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.02096, allocations: 24 kB / 412.7 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.022, allocations: 0.8683 MB / 413.6 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.02517, allocations: 3.144 MB / 416.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.02615, allocations: 0.6515 MB / 417.4 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.02645, allocations: 247.7 kB / 417.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.0265, allocations: 19.98 kB / 417.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.02684, allocations: 352 kB / 418 MB, free: 12.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 1.423e-06/0.02685, allocations: 3.938 kB / 418 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.001414/0.02826, allocations: 0.9409 MB / 418.9 MB, free: 11.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.02832, allocations: 144.5 kB / 419 MB, free: 11.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.02869, allocations: 0.4978 MB / 419.5 MB, free: 10.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.02872, allocations: 33.7 kB / 419.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.02893, allocations: 479.6 kB / 420 MB, free: 10.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.02902, allocations: 166.6 kB / 420.2 MB, free: 9.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.02916, allocations: 146.5 kB / 420.3 MB, free: 9.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.02926, allocations: 366.7 kB / 420.7 MB, free: 9.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.02957, allocations: 263.6 kB / 421 MB, free: 9.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.02995, allocations: 462.4 kB / 421.4 MB, free: 8.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.03062, allocations: 0.699 MB / 422.1 MB, free: 7.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.03062, allocations: 4 kB / 422.1 MB, free: 7.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001011/0.03163, allocations: 0.88 MB / 423 MB, free: 6.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.03166, allocations: 40.05 kB / 423 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.03167, allocations: 11.98 kB / 423 MB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.0319, allocations: 72.8 kB / 423.1 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.03224, allocations: 179.8 kB / 423.3 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009126/0.03315, allocations: 1.448 MB / 424.7 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.03343, allocations: 87.66 kB / 424.8 MB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.03346, allocations: 35.98 kB / 424.9 MB, free: 4.887 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.03369, allocations: 271.3 kB / 425.1 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.03375, allocations: 63.56 kB / 425.2 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.03459, allocations: 0.7208 MB / 425.9 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.0346, allocations: 8 kB / 425.9 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.0346, allocations: 0 / 425.9 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.03461, allocations: 11.92 kB / 425.9 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.03613, allocations: 1.401 MB / 427.3 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.03613, allocations: 0 / 427.3 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.0363, allocations: 79.89 kB / 427.4 MB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.03665, allocations: 288.1 kB / 427.7 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.03667, allocations: 8 kB / 427.7 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006104/0.03728, allocations: 0.8969 MB / 428.6 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.03728, allocations: 4.031 kB / 428.6 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.03846, allocations: 1.103 MB / 429.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.03859, allocations: 103.6 kB / 429.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.03864, allocations: 23.92 kB / 429.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.03884, allocations: 31.97 kB / 429.9 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.03889, allocations: 23.95 kB / 429.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.03891, allocations: 19.98 kB / 429.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002483/0.03916, allocations: 342.9 kB / 430.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03916, allocations: 0 / 430.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.03959, allocations: 255.2 kB / 430.5 MB, free: 15.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.03979, allocations: 155 kB / 430.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008842/0.04067, allocations: 0.7797 MB / 431.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.04068, allocations: 0 / 431.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.04102, allocations: 333.8 kB / 431.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.04139, allocations: 97.98 kB / 431.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.04286, allocations: 1.355 MB / 433.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.04308, allocations: 352.1 kB / 433.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.04319, allocations: 56.48 kB / 433.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04319, allocations: 0 / 433.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of Templates: time 0.1402/0.1834, allocations: 13.35 MB / 446.9 MB, free: 94.31 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.729745830409229] Failed to read output from testmodel.py, exit status != 0: 0.18830848019570112 0.19447263299999995 0.17751860999999994 Calling exit ...