Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 175.6 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007751/0.000775, allocations: 102.4 kB / 293 MB, free: 4.84 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02467/0.02468, allocations: 5.519 MB / 349.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 11.98 kB / 412 MB, free: 8.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2372, allocations: 51.6 MB / 463.6 MB, free: 72.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.003368/0.2407, allocations: 3.748 MB / 467.4 MB, free: 69.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2428, allocations: 2.328 MB / 469.7 MB, free: 66.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.243, allocations: 12 kB / 469.7 MB, free: 66.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.2435, allocations: 199.2 kB / 469.9 MB, free: 66.33 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.2446, allocations: 1.088 MB / 471 MB, free: 65.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.245, allocations: 276.8 kB / 471.3 MB, free: 64.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.2453, allocations: 0.5297 MB / 471.8 MB, free: 64.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.247, allocations: 1.832 MB / 473.6 MB, free: 62.26 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.2472, allocations: 183.2 kB / 473.8 MB, free: 62.08 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.2475, allocations: 274.7 kB / 474.1 MB, free: 61.81 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.2475, allocations: 28 kB / 474.1 MB, free: 61.78 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.2479, allocations: 167.8 kB / 474.3 MB, free: 61.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.2479, allocations: 95.59 kB / 474.4 MB, free: 61.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2481, allocations: 272.3 kB / 474.6 MB, free: 61.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.2487, allocations: 0.8486 MB / 475.5 MB, free: 60.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2487, allocations: 0 / 475.5 MB, free: 60.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2487, allocations: 4 kB / 475.5 MB, free: 60.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2488, allocations: 3.938 kB / 475.5 MB, free: 60.39 MB / 346.7 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.001621/0.2504, allocations: 0.8745 MB / 476.3 MB, free: 59.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2504, allocations: 16.03 kB / 476.4 MB, free: 59.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.2522, allocations: 311.9 kB / 476.7 MB, free: 59.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.2525, allocations: 365.4 kB / 477 MB, free: 58.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.2526, allocations: 54.38 kB / 477.1 MB, free: 58.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.2527, allocations: 60.38 kB / 477.1 MB, free: 58.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2537, allocations: 0.7086 MB / 477.8 MB, free: 57.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.2537, allocations: 3.906 kB / 477.9 MB, free: 57.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.2538, allocations: 24 kB / 477.9 MB, free: 57.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2538, allocations: 16 kB / 477.9 MB, free: 57.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.2547, allocations: 0.5868 MB / 478.5 MB, free: 57.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.2576, allocations: 2.767 MB / 481.2 MB, free: 54.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2586, allocations: 0.9284 MB / 482.2 MB, free: 53.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.2588, allocations: 129.7 kB / 482.3 MB, free: 53.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.2589, allocations: 81.11 kB / 482.4 MB, free: 53.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.2589, allocations: 42.5 kB / 482.4 MB, free: 52.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.2589, allocations: 4 kB / 482.4 MB, free: 52.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006421/0.2595, allocations: 347.3 kB / 482.8 MB, free: 52.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.2596, allocations: 81.23 kB / 482.8 MB, free: 52.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.2598, allocations: 290.5 kB / 483.1 MB, free: 52.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2598, allocations: 33.7 kB / 483.2 MB, free: 52.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.26, allocations: 319.1 kB / 483.5 MB, free: 51.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.26, allocations: 90.66 kB / 483.6 MB, free: 51.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.26, allocations: 8 kB / 483.6 MB, free: 51.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.2601, allocations: 346.7 kB / 483.9 MB, free: 51.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.2603, allocations: 149.9 kB / 484.1 MB, free: 51.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.2606, allocations: 265.9 kB / 484.3 MB, free: 50.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.2611, allocations: 396.4 kB / 484.7 MB, free: 50.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2611, allocations: 0 / 484.7 MB, free: 50.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006293/0.2617, allocations: 468.5 kB / 485.2 MB, free: 50.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2618, allocations: 11.94 kB / 485.2 MB, free: 50.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2618, allocations: 4 kB / 485.2 MB, free: 50.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2618, allocations: 8 kB / 485.2 MB, free: 50.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.2622, allocations: 140.2 kB / 485.3 MB, free: 49.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2623, allocations: 4 kB / 485.3 MB, free: 49.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.2625, allocations: 63.36 kB / 485.4 MB, free: 49.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.2625, allocations: 20 kB / 485.4 MB, free: 49.82 MB / 346.7 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.0002605/0.2628, allocations: 195.8 kB / 485.6 MB, free: 49.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.2629, allocations: 35.55 kB / 485.6 MB, free: 49.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.2634, allocations: 303.5 kB / 485.9 MB, free: 49.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2634, allocations: 4 kB / 485.9 MB, free: 49.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2634, allocations: 0 / 485.9 MB, free: 49.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2635, allocations: 7.922 kB / 485.9 MB, free: 49.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.2646, allocations: 0.8818 MB / 486.8 MB, free: 48.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2646, allocations: 4 kB / 486.8 MB, free: 48.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.2649, allocations: 91.88 kB / 486.9 MB, free: 48.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2649, allocations: 4 kB / 486.9 MB, free: 48.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.265, allocations: 4 kB / 486.9 MB, free: 48.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.265, allocations: 4 kB / 486.9 MB, free: 48.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.265, allocations: 3.984 kB / 486.9 MB, free: 48.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.2656, allocations: 0.5574 MB / 487.5 MB, free: 47.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.2657, allocations: 116.8 kB / 487.6 MB, free: 47.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.2657, allocations: 8 kB / 487.6 MB, free: 47.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.2659, allocations: 12 kB / 487.6 MB, free: 47.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.266, allocations: 23.91 kB / 487.6 MB, free: 47.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.266, allocations: 4 kB / 487.6 MB, free: 47.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.2662, allocations: 202 kB / 487.8 MB, free: 47.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.2662, allocations: 4 kB / 487.8 MB, free: 47.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.2666, allocations: 139.3 kB / 488 MB, free: 47.14 MB / 346.7 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.000162/0.2668, allocations: 151.2 kB / 488.1 MB, free: 46.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.2673, allocations: 309 kB / 488.4 MB, free: 46.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2673, allocations: 4.062 kB / 488.4 MB, free: 46.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.2675, allocations: 127.8 kB / 488.6 MB, free: 46.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.2679, allocations: 32.55 kB / 488.6 MB, free: 46.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2691, allocations: 1.085 MB / 489.7 MB, free: 45.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.2693, allocations: 0.8265 MB / 490.5 MB, free: 44.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.2695, allocations: 42.97 kB / 490.5 MB, free: 44.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.2696, allocations: 31.42 kB / 490.6 MB, free: 44.48 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2696, allocations: 0 / 490.6 MB, free: 44.48 MB / 346.7 MB Notification: Performance of Templates: time 0.006229/0.2759, allocations: 3.218 MB / 493.8 MB, free: 41.27 MB / 346.7 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)