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.001406/0.001406, allocations: 88.72 kB / 19.44 MB, free: 476 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.001747/0.001747, allocations: 157.7 kB / 22.75 MB, free: 1.805 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.02982/0.02982, allocations: 4.218 MB / 263.8 MB, free: 8.977 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.302e-06/1.302e-06, allocations: 0 / 334.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.095e-05, allocations: 8.984 kB / 334.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.006331/0.006362, allocations: 6.201 MB / 340.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.01017, allocations: 2.34 MB / 342.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00072/0.01089, allocations: 55.62 kB / 342.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.0117, allocations: 468.6 kB / 343.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01278, allocations: 492.4 kB / 343.8 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.01351, allocations: 467.1 kB / 344.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.01491, allocations: 2.269 MB / 346.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.01615, allocations: 1.359 MB / 347.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.01794, allocations: 1.634 MB / 349.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.01979, allocations: 1.126 MB / 350.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004674/0.02026, allocations: 312 kB / 351 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005884/0.02085, allocations: 352 kB / 351.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008271/0.02167, allocations: 0.7634 MB / 352.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.02305, allocations: 0.8691 MB / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.02746, allocations: 3.727 MB / 356.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.02746, allocations: 0 / 356.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02747, allocations: 0 / 356.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.494e-05/0.02753, allocations: 0 / 356.7 MB, free: 8.121 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.006531/0.03406, allocations: 2.726 MB / 359.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.0341, allocations: 12.03 kB / 359.4 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.03527, allocations: 459.3 kB / 359.8 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.03872, allocations: 1.531 MB / 361.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.0389, allocations: 163.9 kB / 361.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003409/0.03924, allocations: 196 kB / 361.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/0.04458, allocations: 2.728 MB / 364.5 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.04462, allocations: 3.938 kB / 364.5 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.04484, allocations: 84 kB / 364.5 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.04496, allocations: 84.03 kB / 364.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/0.04949, allocations: 2.235 MB / 366.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.06355, allocations: 6.974 MB / 373.8 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.06593, allocations: 0.8938 MB / 374.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.06704, allocations: 0.4884 MB / 375.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-05/0.06711, allocations: 12.48 kB / 375.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.06825, allocations: 0.5525 MB / 375.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/0.06825, allocations: 0 / 375.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004996/0.07325, allocations: 1.679 MB / 377.5 MB, free: 2.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.07339, allocations: 153 kB / 377.6 MB, free: 2.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.07514, allocations: 1.059 MB / 378.7 MB, free: 1.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.07521, allocations: 37.7 kB / 378.7 MB, free: 1.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.07638, allocations: 0.9989 MB / 379.7 MB, free: 460 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.0767, allocations: 242 kB / 379.9 MB, free: 216 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.07707, allocations: 186.5 kB / 380.1 MB, free: 24 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.07731, allocations: 342 kB / 380.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.07835, allocations: 490.2 kB / 380.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.07987, allocations: 0.7783 MB / 381.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.08215, allocations: 1.239 MB / 382.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.08216, allocations: 4 kB / 383 MB, free: 12.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003345/0.08551, allocations: 1.481 MB / 384.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.08556, allocations: 41.64 kB / 384.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.08559, allocations: 8 kB / 384.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005196/0.08611, allocations: 92.97 kB / 384.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.08717, allocations: 239.6 kB / 384.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.08904, allocations: 1.455 MB / 386.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.09006, allocations: 147.2 kB / 386.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/0.09015, allocations: 40 kB / 386.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001987/0.09214, allocations: 1.027 MB / 387.5 MB, free: 8.234 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001542/0.09368, allocations: 0.7666 MB / 388.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002195/0.09587, allocations: 1.231 MB / 389.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.09588, allocations: 4 kB / 389.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00322/0.0991, allocations: 1.45 MB / 390.9 MB, free: 4.496 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.09915, allocations: 37.69 kB / 391 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.09916, allocations: 8 kB / 391 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.09964, allocations: 88.78 kB / 391.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.1007, allocations: 243.8 kB / 391.3 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.1025, allocations: 1.463 MB / 392.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.1035, allocations: 123.4 kB / 392.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.1035, allocations: 40 kB / 392.9 MB, free: 2.387 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.0003792/0.1039, allocations: 279.1 kB / 393.2 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.1042, allocations: 147.2 kB / 393.3 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/0.1072, allocations: 1.271 MB / 394.6 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1072, allocations: 8 kB / 394.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1072, allocations: 0 / 394.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.1072, allocations: 3.984 kB / 394.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005523/0.1127, allocations: 2.524 MB / 397.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1128, allocations: 4.031 kB / 397.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.1134, allocations: 143.8 kB / 397.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006918/0.1141, allocations: 288.1 kB / 397.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.1142, allocations: 19.98 kB / 397.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.1155, allocations: 0.893 MB / 398.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1155, allocations: 4.031 kB / 398.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.1193, allocations: 1.89 MB / 400.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.1199, allocations: 199.1 kB / 400.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.12, allocations: 19.98 kB / 400.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.1208, allocations: 71.92 kB / 400.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.1209, allocations: 44.56 kB / 400.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.121, allocations: 27.98 kB / 400.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.1221, allocations: 0.7135 MB / 401.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1221, allocations: 0 / 401.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002319/0.1245, allocations: 0.8635 MB / 402.3 MB, free: 8.766 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.0002584/0.1247, allocations: 133.5 kB / 402.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004247/0.129, allocations: 2.06 MB / 404.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.129, allocations: 4.625 kB / 404.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.1301, allocations: 0.5513 MB / 405 MB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.1315, allocations: 279.1 kB / 405.3 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.138, allocations: 3.482 MB / 408.8 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.1397, allocations: 1.137 MB / 409.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.1409, allocations: 368.2 kB / 410.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.1412, allocations: 84.47 kB / 410.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1412, allocations: 0 / 410.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of Templates: time 0.1433/0.2845, allocations: 14.59 MB / 425 MB, free: 75.07 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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.392493068007752]