Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.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.002346/0.002346, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002013/0.002013, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.348 MB / 186.7 MB " [Timeout remaining time 178] 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.03315/0.03315, allocations: 4.23 MB / 263.8 MB, free: 8.824 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.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 334.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.463e-05, allocations: 4.844 kB / 334.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.006336/0.006361, allocations: 6.63 MB / 340.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.01102, allocations: 2.395 MB / 343.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009454/0.01197, allocations: 55.62 kB / 343.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009445/0.01291, allocations: 468.6 kB / 343.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.01411, allocations: 496.4 kB / 344.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.01485, allocations: 459.1 kB / 344.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.01639, allocations: 2.27 MB / 347 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.01769, allocations: 1.367 MB / 348.4 MB, free: 404 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.01988, allocations: 1.634 MB / 350 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.02199, allocations: 1.255 MB / 351.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005072/0.0225, allocations: 312 kB / 351.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.02314, allocations: 348 kB / 351.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008656/0.024, allocations: 0.7751 MB / 352.7 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.0252, allocations: 0.8808 MB / 353.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004587/0.02978, allocations: 3.751 MB / 357.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.02979, allocations: 4 kB / 357.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.02979, allocations: 0 / 357.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.168e-05/0.02985, allocations: 0 / 357.3 MB, free: 7.43 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.006377/0.03623, allocations: 3.048 MB / 360.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.03626, allocations: 8.031 kB / 360.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.03738, allocations: 451.2 kB / 360.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.04074, allocations: 1.432 MB / 362.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.0409, allocations: 152 kB / 362.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.04125, allocations: 207.9 kB / 362.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/0.04617, allocations: 2.631 MB / 365.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.04622, allocations: 0 / 365.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.04643, allocations: 87.91 kB / 365.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.04654, allocations: 84.03 kB / 365.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003819/0.05035, allocations: 1.813 MB / 367.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.06548, allocations: 8.5 MB / 375.7 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.06724, allocations: 0.7177 MB / 376.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/0.06807, allocations: 371 kB / 376.8 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-05/0.06813, allocations: 20.48 kB / 376.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008977/0.06903, allocations: 463.5 kB / 377.3 MB, free: 2.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.254e-06/0.06903, allocations: 0 / 377.3 MB, free: 2.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.003923/0.07295, allocations: 1.287 MB / 378.6 MB, free: 1.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.07307, allocations: 145 kB / 378.7 MB, free: 1.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.07498, allocations: 1.284 MB / 380 MB, free: 84 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.07504, allocations: 37.7 kB / 380 MB, free: 40 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.07619, allocations: 1.123 MB / 381.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.07648, allocations: 258 kB / 381.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.07688, allocations: 220.2 kB / 381.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003385/0.07721, allocations: 0.5473 MB / 382.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.07802, allocations: 365.2 kB / 382.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.07923, allocations: 0.7951 MB / 383.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.08135, allocations: 1.147 MB / 384.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.08136, allocations: 4 kB / 384.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002793/0.08415, allocations: 1.234 MB / 385.7 MB, free: 9.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.0842, allocations: 37.64 kB / 385.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.08422, allocations: 12 kB / 385.7 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.08473, allocations: 99.72 kB / 385.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.08576, allocations: 231.7 kB / 386.1 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.08789, allocations: 2.014 MB / 388.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/0.08877, allocations: 135.2 kB / 388.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.08886, allocations: 40 kB / 388.2 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001658/0.09051, allocations: 0.8341 MB / 389.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/0.0917, allocations: 0.7874 MB / 389.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001904/0.09361, allocations: 1.132 MB / 391 MB, free: 4.129 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.133e-06/0.09361, allocations: 4 kB / 391 MB, free: 4.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002795/0.09641, allocations: 1.214 MB / 392.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.09645, allocations: 41.64 kB / 392.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.09646, allocations: 12.03 kB / 392.3 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/0.09694, allocations: 87.61 kB / 392.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009894/0.09793, allocations: 235.7 kB / 392.6 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.09994, allocations: 2.026 MB / 394.6 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/0.1008, allocations: 107.5 kB / 394.7 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/0.1009, allocations: 47.92 kB / 394.8 MB, free: 208 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integratorOmega.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 115 * 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.0004018/0.1013, allocations: 367.1 kB / 395.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.1015, allocations: 143.2 kB / 395.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.104, allocations: 1.032 MB / 396.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.104, allocations: 8.047 kB / 396.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.104, allocations: 3.984 kB / 396.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.104, allocations: 7.984 kB / 396.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/0.1097, allocations: 2.859 MB / 399.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1097, allocations: 0 / 399.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.1103, allocations: 127.8 kB / 399.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006172/0.111, allocations: 279 kB / 399.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/0.111, allocations: 23.98 kB / 399.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.1124, allocations: 1.168 MB / 400.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1124, allocations: 0 / 400.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.1153, allocations: 1.545 MB / 402.3 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.1159, allocations: 199 kB / 402.5 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.116, allocations: 20 kB / 402.5 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.1166, allocations: 51.94 kB / 402.6 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.1168, allocations: 52.62 kB / 402.6 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.1168, allocations: 27.98 kB / 402.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.118, allocations: 0.7563 MB / 403.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.118, allocations: 0 / 403.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001982/0.12, allocations: 0.8558 MB / 404.3 MB, free: 6.445 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * 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 (63): * Single equations (assignments): 62 * 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.0002368/0.1202, allocations: 135.1 kB / 404.4 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.1241, allocations: 1.982 MB / 406.4 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1241, allocations: 0 / 406.4 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000945/0.125, allocations: 486.8 kB / 406.9 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.1264, allocations: 271 kB / 407.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.1325, allocations: 3.208 MB / 410.3 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1107/0.2432, allocations: 1.052 MB / 411.4 MB, free: 78.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001084/0.2443, allocations: 308 kB / 411.7 MB, free: 78.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.2445, allocations: 84.19 kB / 411.8 MB, free: 78.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2445, allocations: 0 / 411.8 MB, free: 78.33 MB / 330.7 MB Notification: Performance of Templates: time 0.02289/0.2674, allocations: 14.62 MB / 426.4 MB, free: 71.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.372091725934297]