Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2411/0.2411, allocations: 46.94 MB / 361.6 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 79.88 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3603, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01215/0.3724, allocations: 9.495 MB / 0.5708 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.3791, allocations: 2.856 MB / 0.5736 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.381, allocations: 87.56 kB / 0.5736 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00861/0.3896, allocations: 3.783 MB / 0.5773 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.3936, allocations: 1.1 MB / 0.5784 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.3957, allocations: 0.7986 MB / 0.5792 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006046/0.4018, allocations: 4.86 MB / 0.5839 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01182/0.4136, allocations: 7.774 MB / 0.5915 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.4182, allocations: 2.856 MB / 0.5943 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/0.4239, allocations: 3.158 MB / 0.5974 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.426, allocations: 0.7656 MB / 0.5982 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.4289, allocations: 0.9295 MB / 0.5991 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.4309, allocations: 1.609 MB / 0.6006 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00476/0.4357, allocations: 3.008 MB / 0.6036 GB, free: 9.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.449, allocations: 10.49 MB / 0.6138 GB, free: 14.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.449, allocations: 0 / 0.6138 GB, free: 14.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.449, allocations: 0 / 0.6138 GB, free: 14.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002914/0.4493, allocations: 0 / 0.6138 GB, free: 14.47 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.02072/0.47, allocations: 6.347 MB / 0.62 GB, free: 8.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.4701, allocations: 8.031 kB / 0.62 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002212/0.4723, allocations: 0.8805 MB / 0.6209 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02135/0.4937, allocations: 3.93 MB / 0.6247 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007433/0.5011, allocations: 3.276 MB / 0.6279 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/0.5015, allocations: 390.5 kB / 0.6283 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.5035, allocations: 0.5038 MB / 0.6288 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.5249, allocations: 8.72 MB / 0.6373 GB, free: 6.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.525, allocations: 11.92 kB / 0.6373 GB, free: 6.258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007067/0.5257, allocations: 212 kB / 0.6375 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003875/0.5261, allocations: 347.2 kB / 0.6378 GB, free: 5.707 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.5425, allocations: 8.047 MB / 0.6457 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04652/0.589, allocations: 25.31 MB / 0.6704 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.6001, allocations: 4.625 MB / 0.6749 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/0.6029, allocations: 1.483 MB / 0.6764 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.6032, allocations: 77.8 kB / 0.6765 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.6033, allocations: 56.56 kB / 0.6765 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 5.27e-06/0.6033, allocations: 4 kB / 0.6765 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006156/0.6094, allocations: 3.523 MB / 0.68 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.6095, allocations: 99.11 kB / 0.68 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.6148, allocations: 3.43 MB / 0.6834 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000306/0.6151, allocations: 53.7 kB / 0.6834 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001977/0.6171, allocations: 2.245 MB / 0.6856 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009743/0.618, allocations: 0.7786 MB / 0.6864 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.6191, allocations: 0.7108 MB / 0.6871 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6193, allocations: 305.1 kB / 0.6874 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/0.6219, allocations: 1.564 MB / 0.6889 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/0.6259, allocations: 3.195 MB / 0.692 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007284/0.6332, allocations: 5.075 MB / 0.697 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-05/0.6332, allocations: 16 kB / 0.697 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009041/0.6423, allocations: 4.956 MB / 0.7018 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.6423, allocations: 34.5 kB / 0.7019 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.614e-05/0.6424, allocations: 52 kB / 0.7019 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.396e-05/0.6425, allocations: 80 kB / 0.702 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/0.6457, allocations: 0.917 MB / 0.7029 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001051/0.6458, allocations: 111.6 kB / 0.703 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.6484, allocations: 0.5741 MB / 0.7036 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/0.6488, allocations: 192 kB / 0.7037 GB, free: 92 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 442 * 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.003589/0.6523, allocations: 2.085 MB / 0.7058 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005627/0.6529, allocations: 274.2 kB / 0.706 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005735/0.6586, allocations: 3.183 MB / 0.7092 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.6587, allocations: 24 kB / 0.7092 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6587, allocations: 0 / 0.7092 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.6587, allocations: 11.95 kB / 0.7092 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.6745, allocations: 8.654 MB / 0.7176 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/0.6746, allocations: 16 kB / 0.7177 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/0.6767, allocations: 0.5656 MB / 0.7182 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-05/0.6768, allocations: 28 kB / 0.7182 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.6769, allocations: 75.98 kB / 0.7183 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.435e-05/0.677, allocations: 39.8 kB / 0.7183 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-05/0.677, allocations: 27.88 kB / 0.7184 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008301/0.6853, allocations: 5.268 MB / 0.7235 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/0.6872, allocations: 0.6535 MB / 0.7242 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004415/0.6877, allocations: 67.98 kB / 0.7242 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.689, allocations: 127.8 kB / 0.7243 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/0.6894, allocations: 229.3 kB / 0.7246 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.6895, allocations: 95.97 kB / 0.7247 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004367/0.6939, allocations: 2.388 MB / 0.727 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6939, allocations: 0 / 0.727 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005231/0.6991, allocations: 1.118 MB / 0.7281 GB, free: 6.508 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_p.reference.gamma) * 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 (275): * Single equations (assignments): 275 * 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.009558/0.7087, allocations: 5.944 MB / 0.7339 GB, free: 228 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2894/0.9981, allocations: 3.468 MB / 0.7373 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/0.9981, allocations: 1.781 kB / 0.7373 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/1, allocations: 1.481 MB / 0.7387 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.003, allocations: 0.5308 MB / 0.7392 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0447/1.048, allocations: 37.67 MB / 0.776 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/1.051, allocations: 3.644 MB / 0.7796 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00285/1.053, allocations: 1.472 MB / 0.781 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/1.055, allocations: 1.647 MB / 0.7826 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.055, allocations: 0 / 0.7826 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.169, allocations: 78.09 MB / 0.8589 GB, free: 36.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/15.03, allocations: 9.781 kB / 0.8589 GB, free: 36.5 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.106001519132406] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC[2]', 'iL[1]', 'iL[2]', 'vC[3]', 'vC[1]', 'iL[3]'] 15.137008344288915 15.146827354 14.695350646 Calling exit ...