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.001465/0.001465, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001841/0.001841, allocations: 173 kB / 23.49 MB, free: 1.051 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.9812/0.9812, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.01823/0.01823, allocations: 4.214 MB / 264.5 MB, free: 9 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.684e-06/1.684e-06, allocations: 0 / 335 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.696e-05, allocations: 2.312 kB / 335 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.005384/0.005411, allocations: 6.661 MB / 341.7 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.009276, allocations: 2.414 MB / 344.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008536/0.01013, allocations: 55.62 kB / 344.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008482/0.01098, allocations: 464.6 kB / 344.6 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.01224, allocations: 0.4886 MB / 345.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.01298, allocations: 455.2 kB / 345.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.01462, allocations: 2.262 MB / 347.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.01582, allocations: 1.371 MB / 349.2 MB, free: 344 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.01752, allocations: 1.634 MB / 350.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.01909, allocations: 1.255 MB / 352.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005875/0.01968, allocations: 312 kB / 352.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.02017, allocations: 347.9 kB / 352.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005456/0.02071, allocations: 0.7829 MB / 353.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000882/0.0216, allocations: 0.8769 MB / 354.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.02343, allocations: 2.114 MB / 356.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.02343, allocations: 0 / 356.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02344, allocations: 4 kB / 356.5 MB, free: 9.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.608e-05/0.02348, allocations: 0 / 356.5 MB, free: 9.008 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.003375/0.02686, allocations: 2.857 MB / 359.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.0269, allocations: 8.031 kB / 359.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/0.02764, allocations: 459.3 kB / 359.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.02935, allocations: 1.4 MB / 361.2 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.02943, allocations: 152 kB / 361.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.02962, allocations: 204 kB / 361.5 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.03186, allocations: 1.671 MB / 363.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.03189, allocations: 0 / 363.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.03202, allocations: 84 kB / 363.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-05/0.03208, allocations: 80.05 kB / 363.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.03343, allocations: 0.767 MB / 364.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00687/0.0403, allocations: 6.755 MB / 370.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.04109, allocations: 489.5 kB / 371.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.04143, allocations: 231 kB / 371.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.04147, allocations: 16.44 kB / 371.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.04183, allocations: 315.6 kB / 371.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.495e-06/0.04183, allocations: 0 / 371.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.001586/0.04342, allocations: 0.8889 MB / 372.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002526/0.04367, allocations: 141.1 kB / 372.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008436/0.04451, allocations: 0.9525 MB / 373.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.04456, allocations: 37.7 kB / 373.9 MB, free: 6.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.0451, allocations: 1.06 MB / 375 MB, free: 5.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.04526, allocations: 246 kB / 375.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.04546, allocations: 196.2 kB / 375.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.04561, allocations: 0.516 MB / 375.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.04589, allocations: 189.3 kB / 376.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.04639, allocations: 0.6077 MB / 376.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.04714, allocations: 0.7999 MB / 377.5 MB, free: 2.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.04714, allocations: 4 kB / 377.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001239/0.04838, allocations: 0.902 MB / 378.4 MB, free: 1.953 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.04842, allocations: 48.59 kB / 378.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.04844, allocations: 8 kB / 378.5 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.04871, allocations: 87.61 kB / 378.6 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.04924, allocations: 239.8 kB / 378.8 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.05063, allocations: 1.971 MB / 380.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.05111, allocations: 127.4 kB / 380.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.05116, allocations: 43.98 kB / 381 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005287/0.05169, allocations: 322.5 kB / 381.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004489/0.05214, allocations: 0.5999 MB / 381.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007081/0.05284, allocations: 0.7998 MB / 382.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.05285, allocations: 4 kB / 382.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.001111/0.05396, allocations: 0.898 MB / 383.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.05399, allocations: 37.7 kB / 383.6 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.05399, allocations: 8 kB / 383.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.0542, allocations: 99.83 kB / 383.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.05467, allocations: 231.6 kB / 383.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009392/0.05561, allocations: 1.975 MB / 385.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.05601, allocations: 111.5 kB / 386 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.05606, allocations: 43.98 kB / 386.1 MB, free: 9.66 MB / 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.0002312/0.05629, allocations: 362.9 kB / 386.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/0.05665, allocations: 139.2 kB / 386.6 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.05766, allocations: 0.7587 MB / 387.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.05766, allocations: 8 kB / 387.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.05766, allocations: 0 / 387.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.05767, allocations: 8.031 kB / 387.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.06014, allocations: 2.112 MB / 389.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.06015, allocations: 7.984 kB / 389.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.06048, allocations: 119.9 kB / 389.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.06075, allocations: 226.9 kB / 389.8 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.0608, allocations: 19.98 kB / 389.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005221/0.06132, allocations: 1.043 MB / 390.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.06132, allocations: 0 / 390.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.06245, allocations: 1.061 MB / 391.9 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.06269, allocations: 198.9 kB / 392.1 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.785e-05/0.06279, allocations: 23.98 kB / 392.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.0631, allocations: 55.97 kB / 392.2 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.0632, allocations: 52.56 kB / 392.2 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.06323, allocations: 19.98 kB / 392.3 MB, free: 3.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005143/0.06375, allocations: 0.565 MB / 392.8 MB, free: 2.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06375, allocations: 0 / 392.8 MB, free: 2.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00157/0.06532, allocations: 0.8559 MB / 393.7 MB, free: 1.789 MB / 314.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.0002263/0.06554, allocations: 125.7 kB / 393.8 MB, free: 1.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.06731, allocations: 1.467 MB / 395.3 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.06731, allocations: 0 / 395.3 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.0677, allocations: 342 kB / 395.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.06842, allocations: 266.3 kB / 395.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.07224, allocations: 3.01 MB / 398.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.07259, allocations: 0.5096 MB / 399.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006054/0.0732, allocations: 308.2 kB / 399.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.07337, allocations: 84.47 kB / 399.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.07337, allocations: 0 / 399.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of Templates: time 0.1236/0.197, allocations: 14.63 MB / 414.4 MB, free: 82.26 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: 3.5162726501002908]