Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarPolygon.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.0008802/0.0008802, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9116/0.9116, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001445/0.001445, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02235/0.02235, allocations: 6.661 MB / 319 MB, free: 26.77 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 445.4 MB, free: 37.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.163e-05, allocations: 2.281 kB / 445.4 MB, free: 37.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.003822/0.003843, allocations: 3.791 MB / 449.2 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.005134, allocations: 1.153 MB / 450.3 MB, free: 32.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.005323, allocations: 31.75 kB / 450.4 MB, free: 32.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.005577, allocations: 178.7 kB / 450.5 MB, free: 32.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005999/0.006177, allocations: 306 kB / 450.8 MB, free: 32.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.006471, allocations: 187.5 kB / 451 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009903/0.007461, allocations: 2.524 MB / 453.5 MB, free: 29.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008023/0.008263, allocations: 1.293 MB / 454.8 MB, free: 27.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.009319, allocations: 1.758 MB / 456.6 MB, free: 26.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009141/0.01023, allocations: 1.282 MB / 457.9 MB, free: 24.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.01045, allocations: 316 kB / 458.2 MB, free: 24.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.01074, allocations: 327.9 kB / 458.5 MB, free: 24.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.01109, allocations: 0.8803 MB / 459.4 MB, free: 23.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000605/0.0117, allocations: 0.99 MB / 460.4 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.01337, allocations: 4.16 MB / 464.5 MB, free: 18.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01337, allocations: 3.938 kB / 464.5 MB, free: 18.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01337, allocations: 0 / 464.5 MB, free: 18.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.01341, allocations: 0 / 464.5 MB, free: 18.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003414/0.01682, allocations: 3.998 MB / 468.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.01687, allocations: 8.031 kB / 468.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.0171, allocations: 333 kB / 468.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.01764, allocations: 347.1 kB / 469.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.01903, allocations: 1.509 MB / 470.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.01909, allocations: 172.9 kB / 470.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.01928, allocations: 236.4 kB / 471.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.02213, allocations: 3.312 MB / 474.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.02217, allocations: 7.938 kB / 474.4 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.0223, allocations: 92 kB / 474.5 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.02231, allocations: 56 kB / 474.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.02466, allocations: 2.648 MB / 477.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006762/0.03142, allocations: 7.126 MB / 484.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.03287, allocations: 1.506 MB / 485.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.03391, allocations: 1.002 MB / 486.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.03396, allocations: 17.45 kB / 486.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009818/0.03494, allocations: 1.113 MB / 488 MB, free: 10.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 2.305e-06/0.03494, allocations: 0 / 488 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.005117/0.04006, allocations: 4.493 MB / 492.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.04015, allocations: 205.2 kB / 492.7 MB, free: 5.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.04129, allocations: 1.288 MB / 494 MB, free: 4.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.04135, allocations: 53.7 kB / 494 MB, free: 4.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/0.04194, allocations: 1.001 MB / 495 MB, free: 3.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.04216, allocations: 440.2 kB / 495.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.04239, allocations: 242.9 kB / 495.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.04249, allocations: 357.9 kB / 496.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.04315, allocations: 0.6777 MB / 496.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008748/0.04403, allocations: 1.119 MB / 497.8 MB, free: 200 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.04554, allocations: 1.651 MB / 499.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.04554, allocations: 4 kB / 499.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002202/0.04775, allocations: 2.059 MB / 0.4898 GB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.04777, allocations: 8 kB / 0.4898 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.04778, allocations: 8.047 kB / 0.4898 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/0.04823, allocations: 296.6 kB / 0.4901 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.04881, allocations: 267.6 kB / 0.4904 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/0.05224, allocations: 3.991 MB / 0.4943 GB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.05291, allocations: 79.94 kB / 0.4943 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.05297, allocations: 51.98 kB / 0.4944 GB, free: 7.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001165/0.05413, allocations: 0.851 MB / 0.4952 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.05428, allocations: 143.1 kB / 0.4954 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.05446, allocations: 181.9 kB / 0.4955 GB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.05447, allocations: 12 kB / 0.4955 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.05448, allocations: 4 kB / 0.4955 GB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.05449, allocations: 11.91 kB / 0.4956 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/0.05898, allocations: 4.078 MB / 0.4995 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.05898, allocations: 0 / 0.4995 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.05942, allocations: 187.8 kB / 0.4997 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.05977, allocations: 284.8 kB / 0.5 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.05984, allocations: 39.97 kB / 0.5 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.06281, allocations: 3.907 MB / 0.5038 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.06282, allocations: 7.969 kB / 0.5038 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.06572, allocations: 2.842 MB / 0.5066 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.06626, allocations: 310.9 kB / 0.5069 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.06644, allocations: 47.98 kB / 0.507 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/0.06701, allocations: 67.92 kB / 0.507 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.06728, allocations: 140.8 kB / 0.5072 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.06733, allocations: 35.98 kB / 0.5072 GB, free: 10.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008711/0.0682, allocations: 0.906 MB / 0.5081 GB, free: 9.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0682, allocations: 0 / 0.5081 GB, free: 9.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009828/0.06918, allocations: 440 kB / 0.5085 GB, free: 8.875 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (rootMeanSquare[5].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[1].mean.x,inductorLoad.inductor[5].i,inductorLoad.inductor[4].i,inductorLoad.inductor[3].i,inductorLoad.inductor[2].i,inductorLoad.inductor[1].i) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[5],switch.control[4],switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003055/0.07224, allocations: 3.462 MB / 0.5119 GB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.07449, allocations: 1.797 MB / 0.5136 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.07449, allocations: 4 kB / 0.5136 GB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.07561, allocations: 1.043 MB / 0.5147 GB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/0.07658, allocations: 323.7 kB / 0.515 GB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.09439, allocations: 16.21 MB / 0.5308 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.09549, allocations: 1.474 MB / 0.5322 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006552/0.09615, allocations: 374.4 kB / 0.5326 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/0.09683, allocations: 0.7854 MB / 0.5334 GB, free: 14.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.09683, allocations: 0 / 0.5334 GB, free: 14.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/0.2896, allocations: 40.91 MB / 0.5733 GB, free: 120.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.17, allocations: 6.734 kB / 0.5733 GB, free: 120.1 MB / 426.7 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarPolygon.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarPolygon.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.StarPolygon_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Electrical_StarPolygon.fmu > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.208314806222916] Failed to read output from testmodel.py, exit status != 0: 8.269701507873833 8.276872717 8.262047086 Calling exit ...