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.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.00131/0.00131, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.001403/0.001403, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.03015/0.03015, allocations: 5.466 MB / 308.1 MB, free: 4.426 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.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.88 kB / 428.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 53.39 MB / 481.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01015/0.1141, allocations: 8.179 MB / 490.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005069/0.1192, allocations: 2.558 MB / 492.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.1201, allocations: 67.75 kB / 492.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006905/0.1271, allocations: 3.048 MB / 495.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.1299, allocations: 0.8548 MB / 496.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.1321, allocations: 0.8257 MB / 497.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004768/0.1369, allocations: 3.661 MB / 0.4894 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/0.149, allocations: 7.792 MB / 0.497 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.1523, allocations: 2.155 MB / 0.4991 GB, free: 336 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/0.1568, allocations: 2.399 MB / 0.5014 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.1584, allocations: 0.6641 MB / 0.5021 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.1606, allocations: 0.9254 MB / 0.503 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.162, allocations: 1.228 MB / 0.5042 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003273/0.1653, allocations: 2.366 MB / 0.5065 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.1755, allocations: 8.552 MB / 0.5149 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1755, allocations: 0 / 0.5149 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1755, allocations: 0 / 0.5149 GB, free: 152 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001693/0.1757, allocations: 0 / 0.5149 GB, free: 152 kB / 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.2223/0.398, allocations: 4.872 MB / 0.5196 GB, free: 37.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.3981, allocations: 11.17 kB / 0.5196 GB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001857/0.4, allocations: 0.5739 MB / 0.5202 GB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.4104, allocations: 1.56 MB / 0.5217 GB, free: 36.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006446/0.4168, allocations: 2.622 MB / 0.5243 GB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.4171, allocations: 298 kB / 0.5245 GB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.4189, allocations: 390.6 kB / 0.5249 GB, free: 34.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.4361, allocations: 6.367 MB / 0.5311 GB, free: 31.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001984/0.4363, allocations: 5.25 kB / 0.5311 GB, free: 31.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/0.4376, allocations: 164.8 kB / 0.5313 GB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/0.4379, allocations: 197.3 kB / 0.5315 GB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.4489, allocations: 5.364 MB / 0.5367 GB, free: 28.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03345/0.4824, allocations: 21.4 MB / 0.5576 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/0.4863, allocations: 3.703 MB / 0.5612 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008623/0.4871, allocations: 0.6634 MB / 0.5619 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.4872, allocations: 105.9 kB / 0.562 GB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.4873, allocations: 39.56 kB / 0.562 GB, free: 3.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.096e-06/0.4873, allocations: 0 / 0.562 GB, free: 3.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.002264/0.4895, allocations: 1.62 MB / 0.5636 GB, free: 1.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.4896, allocations: 94.22 kB / 0.5637 GB, free: 1.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.4917, allocations: 1.602 MB / 0.5653 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.4918, allocations: 41.7 kB / 0.5653 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.4931, allocations: 1.845 MB / 0.5671 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.4935, allocations: 329.2 kB / 0.5674 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/0.4943, allocations: 0.4919 MB / 0.5679 GB, free: 13.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4945, allocations: 353.9 kB / 0.5682 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.4962, allocations: 1.087 MB / 0.5693 GB, free: 11.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.4986, allocations: 1.996 MB / 0.5712 GB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/0.5026, allocations: 3.062 MB / 0.5742 GB, free: 5.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.898e-05/0.5026, allocations: 8 kB / 0.5742 GB, free: 5.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005341/0.5079, allocations: 3.086 MB / 0.5773 GB, free: 2.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.508, allocations: 20 kB / 0.5773 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/0.508, allocations: 36.84 kB / 0.5773 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.503e-05/0.5081, allocations: 48 kB / 0.5774 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.51, allocations: 0.5654 MB / 0.5779 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.666e-05/0.5101, allocations: 75.72 kB / 0.578 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.5118, allocations: 337.8 kB / 0.5783 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.512, allocations: 124 kB / 0.5784 GB, free: 1.242 MB / 398.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.00249/0.5145, allocations: 1.634 MB / 0.58 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/0.5148, allocations: 135.1 kB / 0.5801 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.5173, allocations: 1.38 MB / 0.5815 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001708/0.519, allocations: 1.057 MB / 0.5825 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.519, allocations: 0 / 0.5825 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.519, allocations: 3.984 kB / 0.5825 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/0.5277, allocations: 4.28 MB / 0.5867 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5277, allocations: 0 / 0.5867 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/0.5286, allocations: 215.8 kB / 0.5869 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5286, allocations: 4 kB / 0.5869 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.5286, allocations: 20 kB / 0.5869 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.5287, allocations: 4 kB / 0.5869 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.5287, allocations: 11.94 kB / 0.587 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/0.5319, allocations: 2.103 MB / 0.589 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/0.5327, allocations: 320 kB / 0.5893 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.533, allocations: 23.94 kB / 0.5893 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.5338, allocations: 59.92 kB / 0.5894 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5339, allocations: 64.92 kB / 0.5895 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.534, allocations: 28 kB / 0.5895 GB, free: 5.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001948/0.5359, allocations: 1.097 MB / 0.5906 GB, free: 4.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5359, allocations: 0 / 0.5906 GB, free: 4.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002816/0.5387, allocations: 0.8638 MB / 0.5914 GB, free: 3.832 MB / 414.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.004164/0.5429, allocations: 2.727 MB / 0.5941 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004299/0.5472, allocations: 1.937 MB / 0.596 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.5472, allocations: 0 / 0.596 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.5482, allocations: 0.5287 MB / 0.5965 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.5508, allocations: 305.2 kB / 0.5968 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/0.5849, allocations: 18.77 MB / 0.6151 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003978/0.5889, allocations: 2.894 MB / 0.6179 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002039/0.5909, allocations: 0.8205 MB / 0.6187 GB, free: 6.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/0.5927, allocations: 1.124 MB / 0.6198 GB, free: 5.461 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5927, allocations: 0 / 0.6198 GB, free: 5.461 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09089/0.6836, allocations: 44.71 MB / 0.6635 GB, free: 8.992 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.75, allocations: 3.875 kB / 0.6635 GB, free: 8.992 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.679490781854838] Failed to read output from testmodel.py, exit status != 0: 14.862154753878713 14.877522488 14.698791962 Calling exit ...