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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 106.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02828/0.02828, allocations: 5.462 MB / 308.1 MB, free: 3.109 MB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.89 kB / 428.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2762, allocations: 53.39 MB / 481.9 MB, free: 25.85 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004488/0.2806, allocations: 4.39 MB / 486.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.2831, allocations: 1.605 MB / 487.9 MB, free: 21.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.2834, allocations: 13.34 kB / 487.9 MB, free: 21.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.2853, allocations: 0.9102 MB / 488.8 MB, free: 21.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.2867, allocations: 0.6209 MB / 489.5 MB, free: 20.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.2872, allocations: 234.6 kB / 489.7 MB, free: 20.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006957/0.2879, allocations: 0.5641 MB / 490.3 MB, free: 20.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009069/0.2888, allocations: 0.5291 MB / 490.8 MB, free: 19.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.2891, allocations: 260 kB / 491 MB, free: 19.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.2896, allocations: 317.6 kB / 491.3 MB, free: 19.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.2897, allocations: 70.78 kB / 491.4 MB, free: 19.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.2902, allocations: 220.2 kB / 491.6 MB, free: 19.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2903, allocations: 141.2 kB / 491.8 MB, free: 19.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.2906, allocations: 313.7 kB / 492.1 MB, free: 19.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.2919, allocations: 0.9162 MB / 493 MB, free: 18.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2919, allocations: 0 / 493 MB, free: 18.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2919, allocations: 0 / 493 MB, free: 18.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.2919, allocations: 0 / 493 MB, free: 18.83 MB / 366.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.002144/0.2941, allocations: 1.008 MB / 494 MB, free: 18.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2941, allocations: 9.938 kB / 494 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.2942, allocations: 108.5 kB / 494.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.2962, allocations: 310.5 kB / 494.4 MB, free: 18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.2968, allocations: 362.9 kB / 494.8 MB, free: 17.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.2968, allocations: 52.88 kB / 494.8 MB, free: 17.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2969, allocations: 68.66 kB / 494.9 MB, free: 17.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2981, allocations: 0.6992 MB / 495.6 MB, free: 17.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2981, allocations: 3.938 kB / 495.6 MB, free: 17.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.2982, allocations: 25.97 kB / 495.6 MB, free: 17.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.2982, allocations: 16.53 kB / 495.6 MB, free: 17.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2993, allocations: 0.5846 MB / 496.2 MB, free: 17.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.3028, allocations: 2.738 MB / 499 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3039, allocations: 0.8791 MB / 499.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.3041, allocations: 122.5 kB / 500 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.3042, allocations: 93.92 kB / 0.4883 GB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.3042, allocations: 39.81 kB / 0.4884 GB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.704e-06/0.3042, allocations: 3.938 kB / 0.4884 GB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007521/0.3049, allocations: 340.4 kB / 0.4887 GB, free: 13.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.305, allocations: 80.31 kB / 0.4888 GB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.3053, allocations: 295 kB / 0.4891 GB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3053, allocations: 26.83 kB / 0.4891 GB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3054, allocations: 325.8 kB / 0.4894 GB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.3055, allocations: 105 kB / 0.4895 GB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3056, allocations: 89.95 kB / 0.4896 GB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.3057, allocations: 340.8 kB / 0.4899 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.306, allocations: 150.3 kB / 0.49 GB, free: 12.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3062, allocations: 256.9 kB / 0.4903 GB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.3067, allocations: 399.3 kB / 0.4907 GB, free: 12.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3067, allocations: 1.375 kB / 0.4907 GB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007198/0.3074, allocations: 462.6 kB / 0.4911 GB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3075, allocations: 6.875 kB / 0.4911 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3075, allocations: 8.781 kB / 0.4911 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3075, allocations: 7.656 kB / 0.4911 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.308, allocations: 123.5 kB / 0.4913 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.308, allocations: 11.61 kB / 0.4913 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.3083, allocations: 57.66 kB / 0.4913 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.3083, allocations: 20.17 kB / 0.4913 GB, free: 12.11 MB / 366.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.0002415/0.3086, allocations: 196.9 kB / 0.4915 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.3086, allocations: 32.02 kB / 0.4916 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.3092, allocations: 293.3 kB / 0.4918 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3092, allocations: 7.281 kB / 0.4918 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3093, allocations: 1.094 kB / 0.4918 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3093, allocations: 3.406 kB / 0.4918 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3106, allocations: 0.8701 MB / 0.4927 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3106, allocations: 0 / 0.4927 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.3109, allocations: 77.86 kB / 0.4928 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3109, allocations: 1.25 kB / 0.4928 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3109, allocations: 14.02 kB / 0.4928 GB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3109, allocations: 1.531 kB / 0.4928 GB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.311, allocations: 5.438 kB / 0.4928 GB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.3116, allocations: 0.5419 MB / 0.4933 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.3117, allocations: 111.8 kB / 0.4934 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.3117, allocations: 6.125 kB / 0.4934 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.312, allocations: 14.08 kB / 0.4935 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.312, allocations: 17.47 kB / 0.4935 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.312, allocations: 10.08 kB / 0.4935 GB, free: 10.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.3122, allocations: 204.4 kB / 0.4937 GB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3122, allocations: 0 / 0.4937 GB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005657/0.3128, allocations: 147.9 kB / 0.4938 GB, free: 10.57 MB / 366.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.0009159/0.3137, allocations: 1.119 MB / 0.4949 GB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.3143, allocations: 297.7 kB / 0.4952 GB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3143, allocations: 5.031 kB / 0.4952 GB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3145, allocations: 107 kB / 0.4953 GB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3149, allocations: 39.19 kB / 0.4953 GB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.3187, allocations: 3.508 MB / 0.4988 GB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.319, allocations: 0.8203 MB / 0.4996 GB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.3192, allocations: 53.81 kB / 0.4996 GB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3194, allocations: 163 kB / 0.4998 GB, free: 6.219 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3194, allocations: 0 / 0.4998 GB, free: 6.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.3488, allocations: 7.296 MB / 0.5069 GB, free: 2.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/9.053, allocations: 11.28 kB / 0.5069 GB, free: 2.91 MB / 366.1 MB " [Timeout remaining time 651] (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 --stepSize=0.072 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.688532777130604] Failed to read output from testmodel.py, exit status != 0: 9.12803069781512 9.149967109 8.853587687 Calling exit ...