Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 176.5 kB / 15.43 MB, free: 5.707 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.329/1.329, allocations: 225.7 MB / 241.9 MB, free: 380 kB / 186.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.0008382/0.0008383, allocations: 88.91 kB / 293.1 MB, free: 12.91 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.02545/0.02545, allocations: 5.525 MB / 349.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 9.672 kB / 412 MB, free: 89.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08873, allocations: 51.62 MB / 463.6 MB, free: 45.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.005479/0.09425, allocations: 7.04 MB / 470.7 MB, free: 38.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004535/0.09882, allocations: 3.421 MB / 474.1 MB, free: 34.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/0.09962, allocations: 55.81 kB / 474.1 MB, free: 34.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008364/0.1005, allocations: 0.5017 MB / 474.6 MB, free: 34.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1025, allocations: 1.127 MB / 475.8 MB, free: 33.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1039, allocations: 1.367 MB / 477.1 MB, free: 31.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002836/0.1067, allocations: 3.526 MB / 480.7 MB, free: 28.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01253/0.1193, allocations: 12.65 MB / 493.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.1212, allocations: 1.483 MB / 494.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.123, allocations: 1.758 MB / 496.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.1234, allocations: 252 kB / 496.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1244, allocations: 0.4997 MB / 497.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.1249, allocations: 0.7084 MB / 498 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.1262, allocations: 1.821 MB / 499.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.1312, allocations: 7.99 MB / 0.4959 GB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1312, allocations: 0 / 0.4959 GB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1312, allocations: 0 / 0.4959 GB, free: 116 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.1314, allocations: 4 kB / 0.4959 GB, free: 112 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.009193/0.1406, allocations: 3.907 MB / 0.4997 GB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1406, allocations: 8.031 kB / 0.4997 GB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008462/0.1491, allocations: 1.546 MB / 0.5012 GB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.1537, allocations: 2.538 MB / 0.5037 GB, free: 8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.154, allocations: 300.1 kB / 0.504 GB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.1553, allocations: 387.9 kB / 0.5044 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.1692, allocations: 6.364 MB / 0.5106 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.363e-05/0.1693, allocations: 7.984 kB / 0.5106 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/0.1698, allocations: 156 kB / 0.5108 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.17, allocations: 195.4 kB / 0.5109 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.1803, allocations: 5.37 MB / 0.5162 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.209/0.3894, allocations: 21.64 MB / 0.5373 GB, free: 53.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.3937, allocations: 3.834 MB / 0.5411 GB, free: 50.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.3948, allocations: 0.7597 MB / 0.5418 GB, free: 50.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.3949, allocations: 107.8 kB / 0.5419 GB, free: 50.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3949, allocations: 45.03 kB / 0.5419 GB, free: 50.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 2.816e-06/0.3949, allocations: 3.938 kB / 0.5419 GB, free: 50.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.002244/0.3972, allocations: 1.751 MB / 0.5437 GB, free: 50.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3972, allocations: 87.48 kB / 0.5437 GB, free: 50.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.3989, allocations: 1.599 MB / 0.5453 GB, free: 50.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.3989, allocations: 41.42 kB / 0.5453 GB, free: 50.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006537/0.3996, allocations: 1.768 MB / 0.5471 GB, free: 49.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.3998, allocations: 339.4 kB / 0.5474 GB, free: 49.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.3999, allocations: 48.28 kB / 0.5474 GB, free: 49.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4, allocations: 453.8 kB / 0.5479 GB, free: 48.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4013, allocations: 1.116 MB / 0.549 GB, free: 48.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.4029, allocations: 2.05 MB / 0.551 GB, free: 47.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/0.4057, allocations: 3.143 MB / 0.554 GB, free: 45.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/0.4057, allocations: 9.688 kB / 0.554 GB, free: 45.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004077/0.4098, allocations: 3.15 MB / 0.5571 GB, free: 44.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.4098, allocations: 23.31 kB / 0.5571 GB, free: 44.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-05/0.4099, allocations: 39.91 kB / 0.5572 GB, free: 44.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.91e-05/0.41, allocations: 48.31 kB / 0.5572 GB, free: 44.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.4117, allocations: 0.5762 MB / 0.5578 GB, free: 44.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.624e-05/0.4118, allocations: 74 kB / 0.5579 GB, free: 44.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.4132, allocations: 328.7 kB / 0.5582 GB, free: 44.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.4134, allocations: 128.2 kB / 0.5583 GB, free: 44.07 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_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: 161 * 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 (281): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002012/0.4154, allocations: 1.639 MB / 0.5599 GB, free: 42.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.4156, allocations: 128.6 kB / 0.56 GB, free: 42.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.4176, allocations: 1.474 MB / 0.5615 GB, free: 42.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001295/0.419, allocations: 1.157 MB / 0.5626 GB, free: 41.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.419, allocations: 3.688 kB / 0.5626 GB, free: 41.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.419, allocations: 5.859 kB / 0.5626 GB, free: 41.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/0.4254, allocations: 4.434 MB / 0.5669 GB, free: 38.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4255, allocations: 0 / 0.5669 GB, free: 38.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.4263, allocations: 224.4 kB / 0.5671 GB, free: 38.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.4263, allocations: 7.719 kB / 0.5671 GB, free: 38.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.4264, allocations: 19.47 kB / 0.5672 GB, free: 38.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.4264, allocations: 7.719 kB / 0.5672 GB, free: 38.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4264, allocations: 3.781 kB / 0.5672 GB, free: 38.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.4287, allocations: 2.256 MB / 0.5694 GB, free: 36.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.4291, allocations: 347 kB / 0.5697 GB, free: 36.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4293, allocations: 19.94 kB / 0.5697 GB, free: 36.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.4298, allocations: 67.92 kB / 0.5698 GB, free: 36.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4299, allocations: 60.97 kB / 0.5699 GB, free: 36.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.43, allocations: 31.98 kB / 0.5699 GB, free: 36.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.4311, allocations: 1.086 MB / 0.5709 GB, free: 35.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4311, allocations: 0 / 0.5709 GB, free: 35.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002086/0.4332, allocations: 0.8496 MB / 0.5718 GB, free: 34.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002661/0.4334, allocations: 189 kB / 0.572 GB, free: 34.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.4359, allocations: 2.107 MB / 0.574 GB, free: 32.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4359, allocations: 0.875 kB / 0.574 GB, free: 32.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.4366, allocations: 0.6191 MB / 0.5746 GB, free: 31.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.438, allocations: 291.1 kB / 0.5749 GB, free: 31.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.4453, allocations: 7.534 MB / 0.5823 GB, free: 23.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.4471, allocations: 2.91 MB / 0.5851 GB, free: 20.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001731/0.4488, allocations: 0.8051 MB / 0.5859 GB, free: 19.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.4491, allocations: 119.4 kB / 0.586 GB, free: 19.79 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4491, allocations: 0 / 0.586 GB, free: 19.79 MB / 362.7 MB Notification: Performance of Templates: time 0.02781/0.477, allocations: 19.43 MB / 0.605 GB, free: 480 kB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.sim & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1)