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: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001161/0.001161, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1884/0.1884, allocations: 5.386 MB / 296.5 MB, free: 3.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003543, allocations: 12 kB / 358.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.09964, allocations: 51.59 MB / 410.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.00451/0.1042, allocations: 3.724 MB / 414 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.1069, allocations: 1.442 MB / 415.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.1072, allocations: 15.94 kB / 415.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.1077, allocations: 155.2 kB / 415.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.109, allocations: 498 kB / 416.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.1094, allocations: 167.7 kB / 416.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.11, allocations: 0.5219 MB / 416.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.1118, allocations: 1.056 MB / 417.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.1121, allocations: 179.3 kB / 418 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.1125, allocations: 250.9 kB / 418.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.1126, allocations: 35.92 kB / 418.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.113, allocations: 163.8 kB / 418.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.1131, allocations: 91.61 kB / 418.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1132, allocations: 129.4 kB / 418.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006879/0.1139, allocations: 0.6895 MB / 419.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1139, allocations: 3.984 kB / 419.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1139, allocations: 0 / 419.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1139, allocations: 0 / 419.3 MB, free: 4.734 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.001845/0.1158, allocations: 0.8879 MB / 420.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1158, allocations: 8.031 kB / 420.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.1159, allocations: 114.5 kB / 420.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.1178, allocations: 307.1 kB / 420.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.1183, allocations: 356.2 kB / 421 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.1183, allocations: 50 kB / 421 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.1184, allocations: 71.91 kB / 421.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.1197, allocations: 0.7043 MB / 421.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1197, allocations: 0 / 421.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.1198, allocations: 24 kB / 421.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.1198, allocations: 16 kB / 421.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.1209, allocations: 0.5868 MB / 422.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.229/0.3499, allocations: 2.761 MB / 425.2 MB, free: 42.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3511, allocations: 0.9052 MB / 426.1 MB, free: 41.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.3513, allocations: 138 kB / 426.2 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.541e-05/0.3514, allocations: 86.2 kB / 426.3 MB, free: 41.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.3514, allocations: 37.42 kB / 426.4 MB, free: 41.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.345e-06/0.3514, allocations: 0 / 426.4 MB, free: 41.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007203/0.3522, allocations: 351.6 kB / 426.7 MB, free: 41.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3522, allocations: 80.72 kB / 426.8 MB, free: 41.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.3525, allocations: 291.3 kB / 427.1 MB, free: 41.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3525, allocations: 36.08 kB / 427.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3526, allocations: 314.4 kB / 427.4 MB, free: 41.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.3527, allocations: 104.2 kB / 427.5 MB, free: 41.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.3527, allocations: 13.8 kB / 427.5 MB, free: 41.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.3528, allocations: 341.8 kB / 427.9 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.3531, allocations: 146.6 kB / 428 MB, free: 40.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.3534, allocations: 269.3 kB / 428.3 MB, free: 40.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.3536, allocations: 170.2 kB / 428.4 MB, free: 40.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3537, allocations: 0 / 428.4 MB, free: 40.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006354/0.3543, allocations: 468.1 kB / 428.9 MB, free: 40.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3543, allocations: 6.625 kB / 428.9 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3543, allocations: 3.188 kB / 428.9 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3544, allocations: 7.859 kB / 428.9 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.3548, allocations: 140.4 kB / 429 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3548, allocations: 6.625 kB / 429.1 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3551, allocations: 64.16 kB / 429.1 MB, free: 40.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3551, allocations: 18.59 kB / 429.1 MB, free: 40.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002515/0.3554, allocations: 196.4 kB / 429.3 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.3554, allocations: 22.59 kB / 429.4 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.356, allocations: 317.2 kB / 429.7 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.356, allocations: 2.938 kB / 429.7 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.356, allocations: 2.938 kB / 429.7 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.356, allocations: 0 / 429.7 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3572, allocations: 0.8771 MB / 430.5 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3572, allocations: 4.875 kB / 430.5 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.3575, allocations: 88.95 kB / 430.6 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3575, allocations: 5.516 kB / 430.6 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3576, allocations: 3.125 kB / 430.6 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3576, allocations: 4.953 kB / 430.6 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3576, allocations: 7.219 kB / 430.7 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.3583, allocations: 0.5493 MB / 431.2 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.3583, allocations: 112.9 kB / 431.3 MB, free: 39.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3584, allocations: 6.516 kB / 431.3 MB, free: 39.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3586, allocations: 13.16 kB / 431.3 MB, free: 39.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.3586, allocations: 28.33 kB / 431.4 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3587, allocations: 9.875 kB / 431.4 MB, free: 39.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3588, allocations: 203.5 kB / 431.6 MB, free: 39.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3588, allocations: 4.062 kB / 431.6 MB, free: 39.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004852/0.3593, allocations: 142 kB / 431.7 MB, free: 39.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008647/0.3602, allocations: 1.13 MB / 432.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.3607, allocations: 314.6 kB / 433.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3607, allocations: 0 / 433.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3609, allocations: 122.3 kB / 433.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3614, allocations: 41.12 kB / 433.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3642, allocations: 2.157 MB / 435.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3645, allocations: 0.8181 MB / 436.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.3647, allocations: 46.47 kB / 436.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.3649, allocations: 168.4 kB / 436.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3649, allocations: 0 / 436.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.382, allocations: 6.577 MB / 443.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.3822, allocations: 218.7 kB / 443.3 MB, free: 36.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.302, allocations: 2.734 kB / 443.3 MB, free: 36.49 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) Environment - environmentSimulation: