Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 107.3 kB / 15.23 MB, free: 0.6523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 199.9 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1276/0.1276, allocations: 5.389 MB / 295.3 MB, free: 2.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.91 kB / 356.7 MB, free: 2.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.0941, allocations: 50.62 MB / 407.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005355/0.09949, allocations: 4.372 MB / 411.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1023, allocations: 1.573 MB / 413.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.1025, allocations: 12 kB / 413.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.1043, allocations: 0.8558 MB / 414.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.1055, allocations: 0.5719 MB / 414.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1059, allocations: 203.7 kB / 414.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.1064, allocations: 0.5335 MB / 415.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000855/0.1072, allocations: 0.5982 MB / 416.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.1075, allocations: 223.1 kB / 416.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.1078, allocations: 306.7 kB / 416.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.1079, allocations: 48 kB / 416.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1082, allocations: 195.9 kB / 416.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.1083, allocations: 127.5 kB / 416.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1086, allocations: 286.6 kB / 417.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007537/0.1093, allocations: 0.8762 MB / 418.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1093, allocations: 0 / 418.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1093, allocations: 0 / 418.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1094, allocations: 0 / 418.1 MB, free: 4.605 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00193/0.1113, allocations: 0.9916 MB / 419.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1113, allocations: 8.031 kB / 419.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.1133, allocations: 308 kB / 419.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.1137, allocations: 369.3 kB / 419.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.1137, allocations: 50.31 kB / 419.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.1138, allocations: 64.38 kB / 419.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.1149, allocations: 0.7047 MB / 420.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.1149, allocations: 0 / 420.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.115, allocations: 32 kB / 420.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.115, allocations: 16 kB / 420.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009952/0.116, allocations: 0.5751 MB / 421.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.154/0.27, allocations: 2.748 MB / 423.9 MB, free: 45.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.2712, allocations: 0.9089 MB / 424.8 MB, free: 45.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.2715, allocations: 126.2 kB / 425 MB, free: 45.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.72e-05/0.2716, allocations: 93.36 kB / 425.1 MB, free: 44.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2716, allocations: 45.33 kB / 425.1 MB, free: 44.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 3.637e-06/0.2716, allocations: 0 / 425.1 MB, free: 44.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007694/0.2724, allocations: 331 kB / 425.4 MB, free: 44.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2724, allocations: 82.89 kB / 425.5 MB, free: 44.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.2727, allocations: 289.5 kB / 425.8 MB, free: 44.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2727, allocations: 33.95 kB / 425.8 MB, free: 44.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.2728, allocations: 313.8 kB / 426.1 MB, free: 44.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.2729, allocations: 102.8 kB / 426.2 MB, free: 44.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.273, allocations: 90.08 kB / 426.3 MB, free: 44.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.2731, allocations: 341.1 kB / 426.7 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.2733, allocations: 152.4 kB / 426.8 MB, free: 44.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.2736, allocations: 258 kB / 427.1 MB, free: 43.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.2741, allocations: 398.7 kB / 427.4 MB, free: 43.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.2741, allocations: 0 / 427.4 MB, free: 43.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006633/0.2748, allocations: 454.5 kB / 427.9 MB, free: 43.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2748, allocations: 11.48 kB / 427.9 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2748, allocations: 6.25 kB / 427.9 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.2748, allocations: 7.141 kB / 427.9 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.2753, allocations: 124.9 kB / 428 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2753, allocations: 6.859 kB / 428 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.2756, allocations: 62.03 kB / 428.1 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2756, allocations: 21.34 kB / 428.1 MB, free: 43.7 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003055/0.276, allocations: 192.7 kB / 428.3 MB, free: 43.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.276, allocations: 30.69 kB / 428.3 MB, free: 43.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.2766, allocations: 300 kB / 428.6 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2766, allocations: 3.625 kB / 428.6 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2766, allocations: 0 / 428.6 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2766, allocations: 5.641 kB / 428.6 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2778, allocations: 0.8663 MB / 429.5 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2779, allocations: 4.594 kB / 429.5 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.2782, allocations: 80.2 kB / 429.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2782, allocations: 4 kB / 429.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2782, allocations: 8 kB / 429.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2783, allocations: 3.188 kB / 429.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2783, allocations: 0 / 429.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.2789, allocations: 0.5404 MB / 430.1 MB, free: 42.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.279, allocations: 115.2 kB / 430.3 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.279, allocations: 15.14 kB / 430.3 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2792, allocations: 13.78 kB / 430.3 MB, free: 42.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.2793, allocations: 20.39 kB / 430.3 MB, free: 42.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2793, allocations: 3.219 kB / 430.3 MB, free: 42.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.2795, allocations: 206.2 kB / 430.5 MB, free: 42.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2795, allocations: 0 / 430.5 MB, free: 42.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.28, allocations: 139.7 kB / 430.7 MB, free: 42.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (voltageSource.pin_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.2802, allocations: 141.6 kB / 430.8 MB, free: 42.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005399/0.2807, allocations: 308.2 kB / 431.1 MB, free: 42.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2807, allocations: 0 / 431.1 MB, free: 42.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2809, allocations: 127.1 kB / 431.2 MB, free: 42.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.2814, allocations: 30.91 kB / 431.2 MB, free: 42.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2825, allocations: 1.039 MB / 432.3 MB, free: 41.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2828, allocations: 0.8212 MB / 433.1 MB, free: 40.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.283, allocations: 46.72 kB / 433.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.2831, allocations: 33.48 kB / 433.2 MB, free: 40.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2831, allocations: 0 / 433.2 MB, free: 40.6 MB / 350.1 MB Notification: Performance of Templates: time 0.006363/0.2894, allocations: 3.283 MB / 436.5 MB, free: 40.37 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.sim & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1)