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.001626/0.001626, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 197 kB / 16.53 MB, free: 6.664 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.578/1.578, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2463/0.2463, allocations: 5.383 MB / 295.8 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 357.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.125, allocations: 50.62 MB / 408.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.007714/0.1327, allocations: 4.352 MB / 412.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1359, allocations: 1.6 MB / 414.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006731/0.1366, allocations: 15.94 kB / 414.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.1392, allocations: 0.8982 MB / 415 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.1411, allocations: 0.6218 MB / 415.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007568/0.1419, allocations: 219.5 kB / 415.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1429, allocations: 0.5725 MB / 416.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.1443, allocations: 0.6929 MB / 417.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.1447, allocations: 247.1 kB / 417.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.1453, allocations: 322.8 kB / 417.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.1455, allocations: 68 kB / 417.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.1462, allocations: 215.9 kB / 417.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1464, allocations: 151.5 kB / 418.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.1468, allocations: 298.7 kB / 418.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1481, allocations: 0.9034 MB / 419.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1482, allocations: 8 kB / 419.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1482, allocations: 0 / 419.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.1482, allocations: 0 / 419.3 MB, free: 3.656 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.003299/0.1515, allocations: 0.9954 MB / 420.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.1516, allocations: 8.031 kB / 420.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000382/0.152, allocations: 110.7 kB / 420.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.1545, allocations: 308 kB / 420.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.1554, allocations: 353.5 kB / 421 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.1555, allocations: 58.31 kB / 421.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.1557, allocations: 68.31 kB / 421.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.1576, allocations: 0.7007 MB / 421.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.1577, allocations: 3.984 kB / 421.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.1578, allocations: 28 kB / 421.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.1578, allocations: 16 kB / 421.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.1592, allocations: 0.579 MB / 422.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2666/0.4258, allocations: 2.755 MB / 425.3 MB, free: 45.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.427, allocations: 0.9116 MB / 426.2 MB, free: 45.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.4273, allocations: 127.2 kB / 426.3 MB, free: 45.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.358e-05/0.4273, allocations: 87.55 kB / 426.4 MB, free: 45.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.4274, allocations: 37.41 kB / 426.4 MB, free: 45.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.475e-06/0.4274, allocations: 0 / 426.4 MB, free: 45.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007234/0.4281, allocations: 329.5 kB / 426.7 MB, free: 45.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4282, allocations: 91.7 kB / 426.8 MB, free: 44.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.4284, allocations: 289.1 kB / 427.1 MB, free: 44.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4285, allocations: 28.52 kB / 427.1 MB, free: 44.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4286, allocations: 321.2 kB / 427.4 MB, free: 44.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.4287, allocations: 97.8 kB / 427.5 MB, free: 44.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.4288, allocations: 89.02 kB / 427.6 MB, free: 44.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.4289, allocations: 339.6 kB / 428 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.4291, allocations: 151.6 kB / 428.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.4294, allocations: 258.4 kB / 428.4 MB, free: 43.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.4299, allocations: 399.3 kB / 428.7 MB, free: 43.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.43, allocations: 0 / 428.7 MB, free: 43.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007035/0.4307, allocations: 460.1 kB / 429.2 MB, free: 43.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4307, allocations: 8.906 kB / 429.2 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4307, allocations: 4.281 kB / 429.2 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.4307, allocations: 12.31 kB / 429.2 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.4312, allocations: 126.8 kB / 429.3 MB, free: 43.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.4313, allocations: 9.969 kB / 429.4 MB, free: 43.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.4316, allocations: 55.97 kB / 429.4 MB, free: 43.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4316, allocations: 19.59 kB / 429.4 MB, free: 43.39 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.0003211/0.4319, allocations: 192.7 kB / 429.6 MB, free: 43.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.432, allocations: 23.91 kB / 429.6 MB, free: 43.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.4326, allocations: 305.1 kB / 429.9 MB, free: 43.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4326, allocations: 7.188 kB / 429.9 MB, free: 43.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4326, allocations: 7.875 kB / 430 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4326, allocations: 0 / 430 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.4338, allocations: 0.8633 MB / 430.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4338, allocations: 0 / 430.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.4341, allocations: 84.52 kB / 430.9 MB, free: 42.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4342, allocations: 7.047 kB / 430.9 MB, free: 42.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.4342, allocations: 7.094 kB / 430.9 MB, free: 42.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4342, allocations: 0 / 430.9 MB, free: 42.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4342, allocations: 0.7031 kB / 430.9 MB, free: 42.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.4349, allocations: 0.5452 MB / 431.5 MB, free: 42.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.435, allocations: 109.5 kB / 431.6 MB, free: 42.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.522e-05/0.435, allocations: 7.938 kB / 431.6 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4353, allocations: 13.72 kB / 431.6 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.4353, allocations: 20.31 kB / 431.6 MB, free: 42.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.4353, allocations: 6.188 kB / 431.6 MB, free: 42.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.4355, allocations: 207.7 kB / 431.8 MB, free: 41.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4355, allocations: 3.219 kB / 431.8 MB, free: 41.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.436, allocations: 133.3 kB / 432 MB, free: 41.91 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.000859/0.4369, allocations: 1.123 MB / 433.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.4375, allocations: 322.2 kB / 433.4 MB, free: 40.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4375, allocations: 0 / 433.4 MB, free: 40.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.4377, allocations: 123.8 kB / 433.5 MB, free: 40.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.4382, allocations: 37.44 kB / 433.5 MB, free: 40.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.442, allocations: 3.506 MB / 437.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4423, allocations: 0.8243 MB / 437.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.4425, allocations: 47.95 kB / 437.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.4427, allocations: 163.8 kB / 438.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4427, allocations: 1.594 kB / 438.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.4706, allocations: 7.093 MB / 445.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.368, allocations: 17.19 kB / 445.2 MB, free: 36.87 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/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)