Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 101.9 kB / 19.73 MB, free: 1.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 211.2 kB / 23.03 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02871/0.02871, allocations: 5.49 MB / 318.7 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.88 kB / 443 MB, free: 7.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1097, allocations: 54.61 MB / 497.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009442/0.1191, allocations: 7.234 MB / 0.493 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.1243, allocations: 2.491 MB / 0.4954 GB, free: 7.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1254, allocations: 71.62 kB / 0.4955 GB, free: 7.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006498/0.1319, allocations: 2.813 MB / 0.4982 GB, free: 4.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.1345, allocations: 0.7177 MB / 0.4989 GB, free: 3.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.1367, allocations: 0.923 MB / 0.4998 GB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004334/0.141, allocations: 3.67 MB / 0.5034 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008324/0.1493, allocations: 6.36 MB / 0.5096 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.1525, allocations: 2.202 MB / 0.5118 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00392/0.1564, allocations: 2.406 MB / 0.5141 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.1577, allocations: 0.6641 MB / 0.5148 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.1597, allocations: 0.9568 MB / 0.5157 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.1609, allocations: 1.228 MB / 0.5169 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.236/0.3969, allocations: 1.803 MB / 0.5187 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.4084, allocations: 8.62 MB / 0.5271 GB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4084, allocations: 1.031 kB / 0.5271 GB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4084, allocations: 0.5 kB / 0.5271 GB, free: 14.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003202/0.4088, allocations: 0.5 kB / 0.5271 GB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.01629/0.425, allocations: 4.791 MB / 0.5318 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4251, allocations: 9.781 kB / 0.5318 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001852/0.4253, allocations: 111.1 kB / 0.5319 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001644/0.4269, allocations: 0.5745 MB / 0.5324 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009629/0.4366, allocations: 1.594 MB / 0.534 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006033/0.4426, allocations: 2.628 MB / 0.5366 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.4429, allocations: 295.8 kB / 0.5368 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.4446, allocations: 392.3 kB / 0.5372 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.4608, allocations: 6.371 MB / 0.5434 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.4609, allocations: 5.766 kB / 0.5434 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005841/0.4615, allocations: 167.1 kB / 0.5436 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.4617, allocations: 196.6 kB / 0.5438 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009673/0.4713, allocations: 5.369 MB / 0.549 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/0.5046, allocations: 18.68 MB / 0.5673 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/0.5089, allocations: 1.878 MB / 0.5691 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.51, allocations: 0.6507 MB / 0.5697 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.5102, allocations: 42.84 kB / 0.5698 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.5102, allocations: 39.56 kB / 0.5698 GB, free: 2.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=86): time 3.317e-06/0.5102, allocations: 4 kB / 0.5698 GB, free: 2.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=86): time 0.002971/0.5132, allocations: 1.62 MB / 0.5714 GB, free: 1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.5133, allocations: 86.95 kB / 0.5715 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.5159, allocations: 1.615 MB / 0.5731 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.5159, allocations: 37.7 kB / 0.5731 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.5172, allocations: 1.847 MB / 0.5749 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.5175, allocations: 335.4 kB / 0.5752 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007582/0.5183, allocations: 0.503 MB / 0.5757 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5185, allocations: 357.9 kB / 0.5761 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.5201, allocations: 1.08 MB / 0.5771 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.5225, allocations: 2.01 MB / 0.5791 GB, free: 8.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/0.5264, allocations: 3.06 MB / 0.5821 GB, free: 5.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/0.5265, allocations: 8 kB / 0.5821 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.00502/0.5315, allocations: 3.082 MB / 0.5851 GB, free: 2.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.5315, allocations: 20 kB / 0.5851 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/0.5316, allocations: 40.09 kB / 0.5851 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-05/0.5316, allocations: 52 kB / 0.5852 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.5335, allocations: 0.5589 MB / 0.5857 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.218e-05/0.5336, allocations: 74.78 kB / 0.5858 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.5353, allocations: 341.8 kB / 0.5861 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.5355, allocations: 120 kB / 0.5862 GB, free: 1.164 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_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: 161 * 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 (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002854/0.5383, allocations: 1.644 MB / 0.5878 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.5386, allocations: 131.1 kB / 0.588 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.5411, allocations: 1.391 MB / 0.5893 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001641/0.5427, allocations: 1.06 MB / 0.5904 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5427, allocations: 0 / 0.5904 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.5428, allocations: 7.984 kB / 0.5904 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007078/0.5498, allocations: 4.116 MB / 0.5944 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.5498, allocations: 0 / 0.5944 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.5507, allocations: 211.2 kB / 0.5946 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.5507, allocations: 4 kB / 0.5946 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.5508, allocations: 31.86 kB / 0.5946 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.5508, allocations: 11.56 kB / 0.5946 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5508, allocations: 0 / 0.5946 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.5539, allocations: 2.103 MB / 0.5967 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.5544, allocations: 249.5 kB / 0.5969 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.5546, allocations: 23.94 kB / 0.597 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005905/0.5552, allocations: 59.92 kB / 0.597 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.5553, allocations: 60.89 kB / 0.5971 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.5554, allocations: 27.98 kB / 0.5971 GB, free: 6.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001595/0.557, allocations: 1.105 MB / 0.5982 GB, free: 4.922 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.557, allocations: 0 / 0.5982 GB, free: 4.922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002572/0.5595, allocations: 0.86 MB / 0.599 GB, free: 4.059 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003586/0.5631, allocations: 2.743 MB / 0.6017 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00335/0.5665, allocations: 1.933 MB / 0.6036 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5665, allocations: 0 / 0.6036 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.5674, allocations: 0.5345 MB / 0.6041 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.5691, allocations: 297.2 kB / 0.6044 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03557/0.6047, allocations: 18.78 MB / 0.6227 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/0.6094, allocations: 2.35 MB / 0.625 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002111/0.6115, allocations: 0.8196 MB / 0.6258 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/0.6135, allocations: 1.132 MB / 0.6269 GB, free: 6.449 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6135, allocations: 0 / 0.6269 GB, free: 6.449 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08689/0.7004, allocations: 46.35 MB / 0.6722 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.4, allocations: 8 kB / 0.6722 GB, free: 8.504 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --stepSize=0.072 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.328007888048887] Failed to read output from testmodel.py, exit status != 0: 15.587808463955298 15.60365321 15.191956163 Calling exit ...