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.001496/0.001496, allocations: 107 kB / 15.99 MB, free: 6.359 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.001671/0.001671, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02554/0.02554, allocations: 5.403 MB / 296.1 MB, free: 9.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 55.91 kB / 357.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2583, allocations: 50.62 MB / 408.2 MB, free: 30.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004456/0.2628, allocations: 4.357 MB / 412.5 MB, free: 25.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.2652, allocations: 1.566 MB / 414.1 MB, free: 24.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.2655, allocations: 12 kB / 414.1 MB, free: 24.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.2673, allocations: 0.8436 MB / 415 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.2686, allocations: 0.5666 MB / 415.5 MB, free: 22.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.2691, allocations: 203.7 kB / 415.7 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.2696, allocations: 0.5687 MB / 416.3 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008678/0.2705, allocations: 0.7612 MB / 417.1 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.2708, allocations: 251.1 kB / 417.3 MB, free: 20.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.271, allocations: 322.8 kB / 417.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.2711, allocations: 72 kB / 417.7 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.2715, allocations: 215.9 kB / 417.9 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.2716, allocations: 147.5 kB / 418 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.2718, allocations: 310.5 kB / 418.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2724, allocations: 0.7209 MB / 419.1 MB, free: 19.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2724, allocations: 0 / 419.1 MB, free: 19.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2724, allocations: 0 / 419.1 MB, free: 19.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.2724, allocations: 0 / 419.1 MB, free: 19.1 MB / 302.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.001871/0.2743, allocations: 0.9916 MB / 420.1 MB, free: 18.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2744, allocations: 8.031 kB / 420.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.2762, allocations: 308 kB / 420.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.2766, allocations: 361.5 kB / 420.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.2766, allocations: 50.38 kB / 420.8 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.2767, allocations: 68.38 kB / 420.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.2777, allocations: 0.7086 MB / 421.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.2777, allocations: 0 / 421.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.2778, allocations: 28 kB / 421.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2778, allocations: 16 kB / 421.6 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.2787, allocations: 0.579 MB / 422.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.2816, allocations: 2.763 MB / 424.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2827, allocations: 0.9145 MB / 425.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.2829, allocations: 129.7 kB / 426 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.2829, allocations: 89.09 kB / 426.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.283, allocations: 38.5 kB / 426.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.866e-06/0.283, allocations: 0 / 426.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006618/0.2836, allocations: 335.2 kB / 426.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2837, allocations: 85.05 kB / 426.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.2839, allocations: 286.5 kB / 426.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2839, allocations: 33.7 kB / 426.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2841, allocations: 319.1 kB / 427.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.2841, allocations: 94.64 kB / 427.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2842, allocations: 90.06 kB / 427.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.2843, allocations: 342.8 kB / 427.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2845, allocations: 146.5 kB / 427.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.2848, allocations: 261.9 kB / 428 MB, free: 9.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.2853, allocations: 396.4 kB / 428.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2853, allocations: 3.938 kB / 428.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006156/0.2859, allocations: 452.4 kB / 428.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2859, allocations: 12.5 kB / 428.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2859, allocations: 8 kB / 428.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.286, allocations: 8 kB / 428.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.2864, allocations: 127.7 kB / 429 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2864, allocations: 8 kB / 429 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.2867, allocations: 59.42 kB / 429.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.2868, allocations: 16 kB / 429.1 MB, free: 8.41 MB / 302.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.0003023/0.2871, allocations: 193.7 kB / 429.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.2871, allocations: 27.66 kB / 429.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005326/0.2877, allocations: 309 kB / 429.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2877, allocations: 4 kB / 429.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2877, allocations: 0 / 429.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2877, allocations: 0 / 429.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2888, allocations: 0.8768 MB / 430.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2888, allocations: 4 kB / 430.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.2892, allocations: 79.88 kB / 430.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2892, allocations: 0 / 430.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2892, allocations: 8 kB / 430.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2892, allocations: 0 / 430.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2892, allocations: 0 / 430.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.2898, allocations: 0.5413 MB / 431.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.2899, allocations: 108.7 kB / 431.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.2899, allocations: 8 kB / 431.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2902, allocations: 11.98 kB / 431.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.2902, allocations: 27.84 kB / 431.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2903, allocations: 8 kB / 431.3 MB, free: 6.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.2904, allocations: 210 kB / 431.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2904, allocations: 0 / 431.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.2909, allocations: 135.4 kB / 431.6 MB, free: 5.773 MB / 302.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.0001746/0.2911, allocations: 131.2 kB / 431.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.2917, allocations: 320.8 kB / 432.1 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2917, allocations: 4.188 kB / 432.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.2919, allocations: 123.8 kB / 432.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.2924, allocations: 33.14 kB / 432.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.2935, allocations: 1.074 MB / 433.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2938, allocations: 0.8223 MB / 434.1 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.2939, allocations: 39.42 kB / 434.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2939, allocations: 0 / 434.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of Templates: time 0.006338/0.3002, allocations: 4.997 MB / 439.2 MB, free: 14.18 MB / 318.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)