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.0006097/0.0006097, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008224/0.001432, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0006648/0.0006648, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008099/0.001475, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.8806/0.8806, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08008/0.9606, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.01729/0.01729, allocations: 4.325 MB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002878/0.02017, allocations: 1.699 MB / 249.9 MB, free: 8.98 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.743e-06/1.743e-06, allocations: 0 / 251.2 MB, free: 7.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.294e-05, allocations: 2.312 kB / 251.2 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.007106/0.007129, allocations: 6.211 MB / 257.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.01129, allocations: 2.672 MB / 260.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.01172, allocations: 23.94 kB / 260.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.01365, allocations: 1.22 MB / 261.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.01479, allocations: 0.6132 MB / 262 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.01538, allocations: 367.1 kB / 262.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.01656, allocations: 1.211 MB / 263.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.0177, allocations: 0.8522 MB / 264.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009121/0.01861, allocations: 0.8158 MB / 265.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.01921, allocations: 474.7 kB / 265.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.01937, allocations: 124 kB / 265.8 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.01985, allocations: 299.6 kB / 266.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.02001, allocations: 187.4 kB / 266.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.02034, allocations: 311.4 kB / 266.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.02155, allocations: 0.8991 MB / 267.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.02156, allocations: 0 / 267.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02156, allocations: 0 / 267.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.02158, allocations: 4 kB / 267.5 MB, free: 7.32 MB / 266.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.002701/0.02428, allocations: 1.729 MB / 269.2 MB, free: 5.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.02432, allocations: 15.98 kB / 269.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.02615, allocations: 483.4 kB / 269.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.0269, allocations: 404.5 kB / 270.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.02696, allocations: 73.98 kB / 270.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.02708, allocations: 99.89 kB / 270.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009361/0.02802, allocations: 0.7453 MB / 271 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.02804, allocations: 8 kB / 271 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.0281, allocations: 36 kB / 271.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.02812, allocations: 24 kB / 271.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.02871, allocations: 355.3 kB / 271.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.03264, allocations: 2.718 MB / 274.1 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1075/0.1402, allocations: 0.4977 MB / 274.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1404, allocations: 134.4 kB / 274.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/0.1405, allocations: 21.94 kB / 274.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1407, allocations: 264.4 kB / 275 MB, free: 10.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.066e-06/0.1407, allocations: 0 / 275 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009496/0.1416, allocations: 0.5194 MB / 275.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1417, allocations: 146.2 kB / 275.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.1421, allocations: 461 kB / 276.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1421, allocations: 36.41 kB / 276.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.1423, allocations: 443.6 kB / 276.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.1424, allocations: 171.1 kB / 276.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1425, allocations: 151.4 kB / 276.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.1426, allocations: 374.8 kB / 277.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1427, allocations: 111.7 kB / 277.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1429, allocations: 315.2 kB / 277.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.1433, allocations: 478.2 kB / 278.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.1433, allocations: 6.156 kB / 278.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0006529/0.1439, allocations: 0.5267 MB / 278.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.144, allocations: 35.06 kB / 278.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.144, allocations: 10.16 kB / 278.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.1442, allocations: 91.75 kB / 278.9 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.1447, allocations: 200.8 kB / 279.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.1455, allocations: 1.369 MB / 280.4 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.1458, allocations: 83.75 kB / 280.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.1459, allocations: 32.23 kB / 280.5 MB, free: 7.781 MB / 266.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.0001661/0.146, allocations: 187.2 kB / 280.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.1461, allocations: 59.28 kB / 280.8 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.1465, allocations: 435.5 kB / 281.2 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1465, allocations: 5.969 kB / 281.2 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1465, allocations: 0.6562 kB / 281.2 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1465, allocations: 4.25 kB / 281.2 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.1477, allocations: 0.8801 MB / 282.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1477, allocations: 1.5 kB / 282.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1479, allocations: 89.69 kB / 282.2 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.1482, allocations: 269.1 kB / 282.4 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1482, allocations: 15.12 kB / 282.5 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003234/0.1485, allocations: 0.7379 MB / 283.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1485, allocations: 1.375 kB / 283.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.1492, allocations: 0.658 MB / 283.9 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.1493, allocations: 63 kB / 283.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.1493, allocations: 13.27 kB / 283.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.1495, allocations: 30.02 kB / 284 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.1495, allocations: 31.31 kB / 284 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1496, allocations: 15.47 kB / 284 MB, free: 6.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1498, allocations: 200.9 kB / 284.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1498, allocations: 3.875 kB / 284.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.1503, allocations: 253.8 kB / 284.5 MB, free: 6.086 MB / 266.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.000192/0.1505, allocations: 137.9 kB / 284.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005903/0.1511, allocations: 0.5952 MB / 285.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/0.1511, allocations: 12.09 kB / 285.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.1513, allocations: 233.6 kB / 285.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1516, allocations: 166.5 kB / 285.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.1533, allocations: 1.354 MB / 286.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.1534, allocations: 160.8 kB / 287.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.1536, allocations: 78.06 kB / 287.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.1538, allocations: 152.3 kB / 287.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1538, allocations: 0 / 287.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of Templates: time 0.01122/0.1651, allocations: 9.16 MB / 296.5 MB, free: 1.898 MB / 266.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=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6094235675409436]