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.001376/0.001376, allocations: 107.8 kB / 16.27 MB, free: 5.984 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.001714/0.001714, allocations: 189 kB / 17.2 MB, free: 5.609 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04488/0.04488, allocations: 5.397 MB / 296.5 MB, free: 9.551 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 59.91 kB / 358.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2124, allocations: 50.6 MB / 408.7 MB, free: 29.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005326/0.2178, allocations: 4.355 MB / 413 MB, free: 25.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2199, allocations: 1.598 MB / 414.6 MB, free: 23.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.2202, allocations: 16 kB / 414.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.2219, allocations: 0.8906 MB / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2229, allocations: 0.617 MB / 416.2 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.2233, allocations: 231.5 kB / 416.4 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.2237, allocations: 0.5648 MB / 417 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.2245, allocations: 0.6987 MB / 417.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.2247, allocations: 255.1 kB / 417.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.225, allocations: 322.8 kB / 418.2 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.2251, allocations: 72 kB / 418.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.2254, allocations: 215.8 kB / 418.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.2255, allocations: 151.5 kB / 418.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.2257, allocations: 302.6 kB / 418.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.2263, allocations: 0.8957 MB / 419.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.2264, allocations: 0 / 419.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2264, allocations: 0 / 419.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2264, allocations: 0 / 419.8 MB, free: 18.71 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.001864/0.2283, allocations: 0.9954 MB / 420.8 MB, free: 17.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2283, allocations: 12.03 kB / 420.8 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.2302, allocations: 308 kB / 421.2 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.2306, allocations: 367.3 kB / 421.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.2306, allocations: 50.38 kB / 421.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.2307, allocations: 64.38 kB / 421.6 MB, free: 16.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.2317, allocations: 0.7047 MB / 422.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.2317, allocations: 0 / 422.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.2318, allocations: 28 kB / 422.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2318, allocations: 20 kB / 422.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.2327, allocations: 0.579 MB / 423 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.2356, allocations: 2.755 MB / 425.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.2368, allocations: 0.9152 MB / 426.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.237, allocations: 125.7 kB / 426.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.173e-05/0.2371, allocations: 93.05 kB / 426.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2371, allocations: 38.44 kB / 426.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.134e-06/0.2371, allocations: 0 / 426.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007079/0.2378, allocations: 331.2 kB / 427.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2379, allocations: 92.98 kB / 427.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.2381, allocations: 286.5 kB / 427.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2381, allocations: 29.7 kB / 427.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2382, allocations: 319.1 kB / 427.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.2383, allocations: 98.64 kB / 428 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.2384, allocations: 90.06 kB / 428.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.2385, allocations: 342.9 kB / 428.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.2388, allocations: 150.5 kB / 428.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.239, allocations: 253.9 kB / 428.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.2395, allocations: 404.3 kB / 429.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2395, allocations: 4 kB / 429.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006466/0.2402, allocations: 448.9 kB / 429.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2402, allocations: 15.97 kB / 429.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2402, allocations: 4 kB / 429.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2403, allocations: 8 kB / 429.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.2407, allocations: 119.8 kB / 429.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2407, allocations: 11.98 kB / 429.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.241, allocations: 59.38 kB / 429.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.2411, allocations: 23.98 kB / 429.9 MB, free: 8.012 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.0002898/0.2414, allocations: 185.7 kB / 430.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.2414, allocations: 31.66 kB / 430.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.242, allocations: 313.6 kB / 430.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.242, allocations: 0 / 430.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.242, allocations: 4 kB / 430.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.242, allocations: 0 / 430.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2432, allocations: 0.8689 MB / 431.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2432, allocations: 0 / 431.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.2435, allocations: 75.88 kB / 431.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2435, allocations: 0 / 431.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2436, allocations: 8 kB / 431.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2436, allocations: 0 / 431.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2436, allocations: 3.984 kB / 431.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.2442, allocations: 0.5503 MB / 431.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.2443, allocations: 112.7 kB / 432 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.2444, allocations: 8 kB / 432 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2446, allocations: 11.98 kB / 432.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.2447, allocations: 19.98 kB / 432.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2447, allocations: 15.98 kB / 432.1 MB, free: 5.711 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.2448, allocations: 202 kB / 432.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2448, allocations: 0 / 432.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.2454, allocations: 139.4 kB / 432.4 MB, free: 5.379 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.0002009/0.2456, allocations: 139.2 kB / 432.6 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006124/0.2462, allocations: 332.5 kB / 432.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2462, allocations: 0 / 432.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.2464, allocations: 119.8 kB / 433 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2469, allocations: 33.16 kB / 433 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2481, allocations: 0.8354 MB / 433.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2483, allocations: 0.8263 MB / 434.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.2484, allocations: 39.42 kB / 434.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2484, allocations: 0 / 434.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of Templates: time 0.007119/0.2556, allocations: 4.984 MB / 439.7 MB, free: 14.02 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)