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.0007742/0.000774, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005465/0.005465, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1554/0.1554, allocations: 5.38 MB / 296.8 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 8 kB / 359.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 51.61 MB / 410.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004138/0.1193, allocations: 3.943 MB / 414.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.1218, allocations: 1.542 MB / 416.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.122, allocations: 16 kB / 416.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.1225, allocations: 203.1 kB / 416.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.1237, allocations: 0.5679 MB / 417 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.1241, allocations: 195.7 kB / 417.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.1246, allocations: 0.5335 MB / 417.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.1263, allocations: 1.167 MB / 418.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1266, allocations: 191.2 kB / 419.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.1269, allocations: 266.7 kB / 419.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.1269, allocations: 28 kB / 419.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.1273, allocations: 175.8 kB / 419.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.1274, allocations: 91.62 kB / 419.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.1276, allocations: 280.2 kB / 419.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.1285, allocations: 0.8447 MB / 420.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1285, allocations: 0 / 420.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1285, allocations: 4 kB / 420.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1286, allocations: 0 / 420.8 MB, free: 3.508 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.002004/0.1306, allocations: 0.8823 MB / 421.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1306, allocations: 12.03 kB / 421.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.1325, allocations: 304 kB / 422 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.1329, allocations: 361.5 kB / 422.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.133, allocations: 50.38 kB / 422.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.1331, allocations: 64.36 kB / 422.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1343, allocations: 0.7163 MB / 423.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.1343, allocations: 0 / 423.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.1344, allocations: 32 kB / 423.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.1344, allocations: 16 kB / 423.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1354, allocations: 0.5945 MB / 423.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2854/0.4209, allocations: 2.758 MB / 426.6 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.4226, allocations: 0.9087 MB / 427.5 MB, free: 42.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.423, allocations: 137.2 kB / 427.6 MB, free: 42.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.85e-05/0.4231, allocations: 89.88 kB / 427.7 MB, free: 42.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.4231, allocations: 37.75 kB / 427.7 MB, free: 42.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 3.968e-06/0.4232, allocations: 0 / 427.7 MB, free: 42.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001142/0.4243, allocations: 351.4 kB / 428.1 MB, free: 42.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.4244, allocations: 87.02 kB / 428.2 MB, free: 42.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.4248, allocations: 290 kB / 428.4 MB, free: 42.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4248, allocations: 31.86 kB / 428.5 MB, free: 42.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.425, allocations: 317.3 kB / 428.8 MB, free: 41.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.4251, allocations: 99.66 kB / 428.9 MB, free: 41.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/0.4252, allocations: 42.67 kB / 428.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.4253, allocations: 336.8 kB / 429.3 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.4257, allocations: 153.4 kB / 429.4 MB, free: 41.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.4262, allocations: 268 kB / 429.7 MB, free: 41.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.427, allocations: 411.5 kB / 430.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.427, allocations: 0 / 430.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001164/0.4282, allocations: 463 kB / 430.5 MB, free: 41.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4282, allocations: 6.438 kB / 430.5 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.4282, allocations: 6.094 kB / 430.5 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.4283, allocations: 6.312 kB / 430.5 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.429, allocations: 139.8 kB / 430.7 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.429, allocations: 17.59 kB / 430.7 MB, free: 41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.4295, allocations: 58 kB / 430.7 MB, free: 40.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.4296, allocations: 24.02 kB / 430.8 MB, free: 40.97 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.0003919/0.43, allocations: 192.6 kB / 431 MB, free: 40.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.4301, allocations: 28.72 kB / 431 MB, free: 40.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.431, allocations: 311.1 kB / 431.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.431, allocations: 3.219 kB / 431.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.431, allocations: 3.938 kB / 431.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.431, allocations: 3.281 kB / 431.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.4328, allocations: 0.8827 MB / 432.2 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.4328, allocations: 3.156 kB / 432.2 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.4333, allocations: 85.55 kB / 432.3 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4334, allocations: 5.688 kB / 432.3 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.4334, allocations: 11.52 kB / 432.3 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4334, allocations: 0 / 432.3 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4334, allocations: 4.094 kB / 432.3 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.4346, allocations: 0.5555 MB / 432.8 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.4347, allocations: 112.9 kB / 433 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.4347, allocations: 4.312 kB / 433 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.4351, allocations: 20.47 kB / 433 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.4352, allocations: 18.31 kB / 433 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4352, allocations: 7.906 kB / 433 MB, free: 40.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.4355, allocations: 206.3 kB / 433.2 MB, free: 40.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4355, allocations: 0 / 433.2 MB, free: 40.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007367/0.4363, allocations: 133.4 kB / 433.3 MB, free: 39.98 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.0001801/0.4365, allocations: 137.6 kB / 433.5 MB, free: 39.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.4371, allocations: 331.2 kB / 433.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4371, allocations: 1.125 kB / 433.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4373, allocations: 132.3 kB / 433.9 MB, free: 39.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.4377, allocations: 21.66 kB / 433.9 MB, free: 39.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.4389, allocations: 1.089 MB / 435 MB, free: 39.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.4391, allocations: 0.8247 MB / 435.9 MB, free: 38.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.4393, allocations: 48.03 kB / 435.9 MB, free: 38.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.4394, allocations: 30.84 kB / 435.9 MB, free: 38.47 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4394, allocations: 0 / 435.9 MB, free: 38.47 MB / 350.1 MB Notification: Performance of Templates: time 0.007082/0.4465, allocations: 3.23 MB / 439.2 MB, free: 38.23 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: