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.002415/0.002415, allocations: 123.9 kB / 18.46 MB, free: 4.461 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.002333/0.002333, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.524/1.524, allocations: 227.5 MB / 251.7 MB, free: 240 kB / 190.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.2439/0.2439, allocations: 46.15 MB / 351.1 MB, free: 14.3 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.002309/0.002309, allocations: 80.88 kB / 489.7 MB, free: 28.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1277, allocations: 62.47 MB / 0.5392 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01265/0.1404, allocations: 9.438 MB / 0.5484 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006658/0.1471, allocations: 2.823 MB / 0.5512 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.149, allocations: 75.75 kB / 0.5513 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00859/0.1576, allocations: 3.744 MB / 0.5549 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.162, allocations: 1.049 MB / 0.5559 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.1644, allocations: 0.7821 MB / 0.5567 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006992/0.1714, allocations: 4.832 MB / 0.5614 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01841/0.1899, allocations: 11.98 MB / 0.5731 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.1945, allocations: 2.806 MB / 0.5759 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005715/0.2002, allocations: 3.107 MB / 0.5789 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002171/0.2024, allocations: 0.7656 MB / 0.5797 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.2058, allocations: 0.9373 MB / 0.5806 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002946/0.2088, allocations: 1.598 MB / 0.5821 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008243/0.2171, allocations: 3.016 MB / 0.5851 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.2317, allocations: 10.49 MB / 0.5953 GB, free: 11.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2317, allocations: 0 / 0.5953 GB, free: 11.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2317, allocations: 0 / 0.5953 GB, free: 11.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002759/0.232, allocations: 0 / 0.5953 GB, free: 11.02 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.01968/0.2517, allocations: 6.415 MB / 0.6016 GB, free: 4.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.2518, allocations: 12.03 kB / 0.6016 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002818/0.2546, allocations: 0.8805 MB / 0.6025 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2938/0.5484, allocations: 3.925 MB / 0.6063 GB, free: 52.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008652/0.5571, allocations: 3.243 MB / 0.6095 GB, free: 51.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006501/0.5578, allocations: 393.5 kB / 0.6098 GB, free: 51.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002412/0.5602, allocations: 0.4994 MB / 0.6103 GB, free: 51.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.583, allocations: 8.729 MB / 0.6188 GB, free: 48.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/0.5832, allocations: 14.67 kB / 0.6189 GB, free: 48.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.5844, allocations: 212.4 kB / 0.6191 GB, free: 48.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003871/0.5848, allocations: 347.9 kB / 0.6194 GB, free: 48.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.5999, allocations: 8.052 MB / 0.6273 GB, free: 45.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0383/0.6383, allocations: 27.82 MB / 0.6544 GB, free: 21.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.6488, allocations: 10.21 MB / 0.6644 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.6509, allocations: 1.597 MB / 0.666 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.6511, allocations: 235.3 kB / 0.6662 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6512, allocations: 56.55 kB / 0.6662 GB, free: 8.641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 4.038e-06/0.6512, allocations: 0 / 0.6662 GB, free: 8.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=214): time 0.004554/0.6557, allocations: 3.527 MB / 0.6697 GB, free: 5.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.6558, allocations: 107.1 kB / 0.6698 GB, free: 4.984 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.6593, allocations: 3.43 MB / 0.6731 GB, free: 1.566 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.6594, allocations: 53.7 kB / 0.6732 GB, free: 1.508 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.6607, allocations: 2.24 MB / 0.6754 GB, free: 15.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007142/0.6614, allocations: 0.7673 MB / 0.6761 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.6624, allocations: 0.7147 MB / 0.6768 GB, free: 13.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6626, allocations: 301.7 kB / 0.6771 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.6651, allocations: 1.572 MB / 0.6786 GB, free: 11.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/0.6689, allocations: 3.189 MB / 0.6817 GB, free: 7.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006747/0.6757, allocations: 5.075 MB / 0.6867 GB, free: 2.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-05/0.6757, allocations: 16 kB / 0.6867 GB, free: 2.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008807/0.6845, allocations: 4.958 MB / 0.6916 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/0.6846, allocations: 31.47 kB / 0.6916 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-05/0.6847, allocations: 60.12 kB / 0.6917 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/0.6848, allocations: 83.75 kB / 0.6917 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.688, allocations: 0.9125 MB / 0.6926 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.6882, allocations: 115.6 kB / 0.6927 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.691, allocations: 0.5702 MB / 0.6933 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/0.6913, allocations: 195.9 kB / 0.6935 GB, free: 11.17 MB / 494.1 MB 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.003787/0.6951, allocations: 2.081 MB / 0.6955 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/0.6957, allocations: 274.2 kB / 0.6958 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.7015, allocations: 3.187 MB / 0.6989 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.7016, allocations: 24 kB / 0.6989 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.7016, allocations: 0 / 0.6989 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.7016, allocations: 11.95 kB / 0.6989 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.716, allocations: 8.674 MB / 0.7074 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.7161, allocations: 16 kB / 0.7074 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/0.7181, allocations: 0.5694 MB / 0.708 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.792e-05/0.7182, allocations: 28 kB / 0.708 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.7184, allocations: 67.98 kB / 0.708 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-05/0.7184, allocations: 35.92 kB / 0.7081 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-05/0.7184, allocations: 28.16 kB / 0.7081 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007573/0.726, allocations: 5.276 MB / 0.7133 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.7274, allocations: 0.7054 MB / 0.714 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/0.7279, allocations: 67.98 kB / 0.714 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.7292, allocations: 124 kB / 0.7141 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/0.7296, allocations: 225.2 kB / 0.7143 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.7297, allocations: 91.98 kB / 0.7144 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003545/0.7333, allocations: 2.392 MB / 0.7168 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7333, allocations: 0 / 0.7168 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003683/0.737, allocations: 1.118 MB / 0.7179 GB, free: 1.559 MB / 0.4981 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.008212/0.7452, allocations: 5.928 MB / 0.7237 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006152/0.7514, allocations: 3.582 MB / 0.7272 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/0.7515, allocations: 0.5 kB / 0.7272 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002907/0.7544, allocations: 1.568 MB / 0.7287 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/0.7578, allocations: 0.5422 MB / 0.7292 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06669/0.8245, allocations: 37.69 MB / 0.766 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004529/0.8291, allocations: 3.636 MB / 0.7696 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00373/0.8329, allocations: 1.472 MB / 0.771 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002497/0.8354, allocations: 1.647 MB / 0.7726 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.8354, allocations: 3.828 kB / 0.7726 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4022/1.238, allocations: 73.29 MB / 0.8442 GB, free: 196.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.93, allocations: 5.938 kB / 0.8442 GB, free: 196.3 MB / 0.6231 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.111901979194954] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC[2]', 'iL[1]', 'iL[2]', 'vC[3]', 'vC[1]', 'iL[3]'] 15.044340644031763 15.068597613 14.832719416 Calling exit ...