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.001335/0.001335, allocations: 89.06 kB / 19.65 MB, free: 284 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.0014/0.0014, allocations: 165 kB / 23.01 MB, free: 1.559 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.0476/0.0476, allocations: 4.22 MB / 264.2 MB, free: 8.926 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.352e-06/1.352e-06, allocations: 0 / 335 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.373e-05, allocations: 8.641 kB / 335 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.005139/0.005163, allocations: 6.708 MB / 341.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.008355, allocations: 2.406 MB / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.009016, allocations: 55.62 kB / 344.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007992/0.009816, allocations: 468.6 kB / 344.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.01098, allocations: 496.4 kB / 345.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.01168, allocations: 467.1 kB / 345.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.01329, allocations: 2.258 MB / 347.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.01469, allocations: 1.375 MB / 349.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.01679, allocations: 1.63 MB / 350.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.01831, allocations: 1.255 MB / 352.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004318/0.01874, allocations: 316 kB / 352.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.01922, allocations: 351.9 kB / 352.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005163/0.01974, allocations: 0.779 MB / 353.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008846/0.02062, allocations: 0.8808 MB / 354.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.02254, allocations: 2.11 MB / 356.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02254, allocations: 0 / 356.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02254, allocations: 0 / 356.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.02258, allocations: 0 / 356.5 MB, free: 8.641 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.003353/0.02593, allocations: 2.868 MB / 359.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.02597, allocations: 8.031 kB / 359.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.02668, allocations: 451.3 kB / 359.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.02839, allocations: 1.396 MB / 361.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.02848, allocations: 160 kB / 361.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.02867, allocations: 200 kB / 361.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.03083, allocations: 1.667 MB / 363.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.03086, allocations: 4 kB / 363.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.03097, allocations: 84 kB / 363.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/0.03104, allocations: 80.05 kB / 363.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.03242, allocations: 0.767 MB / 364.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.0472, allocations: 6.759 MB / 370.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.04822, allocations: 484.8 kB / 371.4 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.04865, allocations: 229.1 kB / 371.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.04871, allocations: 16.44 kB / 371.6 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004538/0.04916, allocations: 319.6 kB / 372 MB, free: 8.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.986e-06/0.04916, allocations: 4 kB / 372 MB, free: 8.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.005194/0.05436, allocations: 0.8811 MB / 372.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.05443, allocations: 149.1 kB / 373 MB, free: 7.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/0.05866, allocations: 0.9486 MB / 373.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.05873, allocations: 41.7 kB / 374 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.05955, allocations: 1.068 MB / 375 MB, free: 5.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.05975, allocations: 238 kB / 375.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.06001, allocations: 192.2 kB / 375.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.06018, allocations: 0.5199 MB / 376 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.06053, allocations: 189.3 kB / 376.2 MB, free: 4.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.06109, allocations: 0.6038 MB / 376.8 MB, free: 3.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.06504, allocations: 0.7883 MB / 377.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.06505, allocations: 4 kB / 377.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001637/0.06669, allocations: 0.9054 MB / 378.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.06673, allocations: 45.62 kB / 378.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.06675, allocations: 8.656 kB / 378.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.06707, allocations: 91.61 kB / 378.6 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003731/0.0708, allocations: 235.6 kB / 378.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.07219, allocations: 1.967 MB / 380.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.07285, allocations: 127.3 kB / 380.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.07292, allocations: 43.98 kB / 381 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003742/0.07666, allocations: 322.5 kB / 381.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005827/0.07724, allocations: 0.5999 MB / 381.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009415/0.07818, allocations: 0.8077 MB / 382.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.07819, allocations: 0 / 382.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.004592/0.08278, allocations: 0.9021 MB / 383.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.08282, allocations: 37.73 kB / 383.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.08283, allocations: 12 kB / 383.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.0831, allocations: 87.55 kB / 383.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.08376, allocations: 235.6 kB / 384 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.0851, allocations: 1.975 MB / 385.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.08879, allocations: 111.5 kB / 386 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.08886, allocations: 48.11 kB / 386.1 MB, free: 9.293 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.00029/0.08915, allocations: 366.9 kB / 386.5 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.08933, allocations: 139.2 kB / 386.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.09061, allocations: 0.7587 MB / 387.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.09061, allocations: 8 kB / 387.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.09062, allocations: 0 / 387.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.09063, allocations: 3.984 kB / 387.4 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/0.09713, allocations: 2.112 MB / 389.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.09714, allocations: 3.984 kB / 389.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/0.1, allocations: 123.9 kB / 389.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.1003, allocations: 222.9 kB / 389.8 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.1004, allocations: 19.98 kB / 389.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005506/0.1009, allocations: 1.039 MB / 390.9 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1009, allocations: 4 kB / 390.9 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.1021, allocations: 1.065 MB / 391.9 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.1024, allocations: 198.9 kB / 392.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.1025, allocations: 23.98 kB / 392.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.1028, allocations: 51.94 kB / 392.2 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.1029, allocations: 52.61 kB / 392.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.1029, allocations: 27.97 kB / 392.3 MB, free: 2.852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005495/0.1035, allocations: 0.5533 MB / 392.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1035, allocations: 0 / 392.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001423/0.1049, allocations: 0.8598 MB / 393.7 MB, free: 1.426 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.0001949/0.1051, allocations: 137.6 kB / 393.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.1068, allocations: 1.463 MB / 395.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1068, allocations: 0 / 395.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.1075, allocations: 333.7 kB / 395.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.1082, allocations: 272.7 kB / 395.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.1124, allocations: 3.006 MB / 398.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1128, allocations: 0.5096 MB / 399.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007528/0.1136, allocations: 308.2 kB / 399.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.1138, allocations: 84.47 kB / 399.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of SimCode: time 2.565e-06/0.1138, allocations: 8 kB / 399.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of Templates: time 0.1264/0.2402, allocations: 14.62 MB / 414.4 MB, free: 77.65 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.7151738051325083]