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.0007873/0.0007873, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008443/0.0008443, 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.8421/0.8421, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.01621/0.01621, allocations: 4.214 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.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.253e-06/1.253e-06, allocations: 0 / 389 MB, free: 9.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.567e-05, allocations: 2.281 kB / 389 MB, free: 9.543 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.005062/0.005078, allocations: 6.21 MB / 395.2 MB, free: 3.297 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.008191, allocations: 2.34 MB / 397.6 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.008741, allocations: 55.62 kB / 397.6 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.009466, allocations: 456.7 kB / 398.1 MB, free: 456 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.0104, allocations: 0.4886 MB / 398.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.01099, allocations: 455.2 kB / 399 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01239, allocations: 2.27 MB / 401.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.01349, allocations: 1.363 MB / 402.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.01461, allocations: 1.626 MB / 404.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009545/0.01557, allocations: 1.134 MB / 405.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.01582, allocations: 312 kB / 405.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.01612, allocations: 348 kB / 406 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.01652, allocations: 0.7712 MB / 406.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.01709, allocations: 0.869 MB / 407.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.01922, allocations: 3.716 MB / 411.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01923, allocations: 0 / 411.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01923, allocations: 4 kB / 411.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.051e-05/0.01926, allocations: 0 / 411.4 MB, free: 3.012 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.00305/0.02231, allocations: 2.726 MB / 414.1 MB, free: 236 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.02234, allocations: 12.03 kB / 414.1 MB, free: 224 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004563/0.0228, allocations: 289 kB / 414.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.02448, allocations: 1.47 MB / 415.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/0.02455, allocations: 160 kB / 416 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.02474, allocations: 196 kB / 416.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.02741, allocations: 2.724 MB / 419 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.02744, allocations: 0 / 419 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.02756, allocations: 83.98 kB / 419 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-05/0.02762, allocations: 84.03 kB / 419.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.03007, allocations: 2.242 MB / 421.4 MB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006653/0.03673, allocations: 6.821 MB / 428.2 MB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.03785, allocations: 0.8888 MB / 429.1 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005719/0.03842, allocations: 496.1 kB / 429.6 MB, free: 344 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.03846, allocations: 8.438 kB / 429.6 MB, free: 336 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000597/0.03906, allocations: 0.5603 MB / 430.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 1.793e-06/0.03906, allocations: 8 kB / 430.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.00237/0.04143, allocations: 1.643 MB / 431.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.04151, allocations: 145.2 kB / 431.9 MB, free: 13.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.04247, allocations: 1.067 MB / 433 MB, free: 12.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.04252, allocations: 37.7 kB / 433 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.04306, allocations: 0.9951 MB / 434 MB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.04322, allocations: 246 kB / 434.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.04343, allocations: 182.5 kB / 434.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004607/0.04389, allocations: 345.9 kB / 434.8 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.04443, allocations: 490.2 kB / 435.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.04506, allocations: 0.7783 MB / 436 MB, free: 9.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.04621, allocations: 1.247 MB / 437.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.04621, allocations: 4 kB / 437.3 MB, free: 8.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001547/0.04776, allocations: 1.434 MB / 438.7 MB, free: 6.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.04779, allocations: 37.69 kB / 438.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.0478, allocations: 12 kB / 438.8 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.04804, allocations: 84.78 kB / 438.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.04853, allocations: 247.8 kB / 439.1 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/0.04946, allocations: 1.459 MB / 440.6 MB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.04989, allocations: 131.3 kB / 440.7 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.04994, allocations: 43.98 kB / 440.7 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.0512, allocations: 1.034 MB / 441.8 MB, free: 3.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006563/0.05186, allocations: 0.7626 MB / 442.5 MB, free: 2.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001151/0.05301, allocations: 1.231 MB / 443.8 MB, free: 1.312 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.05302, allocations: 4 kB / 443.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.1464/0.1994, allocations: 1.406 MB / 445.2 MB, free: 90.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.1995, allocations: 36.42 kB / 445.2 MB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1995, allocations: 17.03 kB / 445.2 MB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.1997, allocations: 87.94 kB / 445.3 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.2003, allocations: 239.5 kB / 445.5 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006439/0.2009, allocations: 1.449 MB / 447 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.2015, allocations: 121.8 kB / 447.1 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.2016, allocations: 44.72 kB / 447.1 MB, free: 89.68 MB / 410.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.0002027/0.2018, allocations: 282.3 kB / 447.4 MB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2019, allocations: 122.5 kB / 447.5 MB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.2033, allocations: 1.28 MB / 448.8 MB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2033, allocations: 6.344 kB / 448.8 MB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2033, allocations: 0 / 448.8 MB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.2033, allocations: 7.359 kB / 448.8 MB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.2058, allocations: 2.517 MB / 451.4 MB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2058, allocations: 0 / 451.4 MB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.2061, allocations: 143 kB / 451.5 MB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.2064, allocations: 289.2 kB / 451.8 MB, free: 88.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.2064, allocations: 17.78 kB / 451.8 MB, free: 88.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004604/0.2069, allocations: 0.8918 MB / 452.7 MB, free: 87.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2069, allocations: 5.203 kB / 452.7 MB, free: 87.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.2084, allocations: 1.867 MB / 454.6 MB, free: 86.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.2087, allocations: 207.1 kB / 454.8 MB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.2087, allocations: 21.19 kB / 454.8 MB, free: 86.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.2091, allocations: 74.02 kB / 454.9 MB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.2091, allocations: 44.06 kB / 454.9 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.2092, allocations: 23 kB / 454.9 MB, free: 86.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005152/0.2097, allocations: 0.7182 MB / 455.6 MB, free: 86.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2097, allocations: 0 / 455.6 MB, free: 86.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001049/0.2107, allocations: 0.8625 MB / 456.5 MB, free: 86.11 MB / 410.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.0001578/0.2109, allocations: 137.3 kB / 456.6 MB, free: 86.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.2127, allocations: 2.056 MB / 458.7 MB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2127, allocations: 0 / 458.7 MB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.2132, allocations: 0.545 MB / 459.2 MB, free: 84.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.2138, allocations: 262.4 kB / 459.5 MB, free: 84.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.2169, allocations: 3.432 MB / 462.9 MB, free: 83.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.2174, allocations: 1.096 MB / 464 MB, free: 82.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.2176, allocations: 91.86 kB / 464.1 MB, free: 82.78 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2176, allocations: 4 kB / 464.1 MB, free: 82.77 MB / 410.7 MB Notification: Performance of Templates: time 0.0202/0.2378, allocations: 31.08 MB / 495.2 MB, free: 73.16 MB / 410.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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850381801836193] Failed to read output from testmodel.py, exit status != 0: 0.24303178302943707 0.248920934 0.228423971 Calling exit ...