Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.001793/0.001793, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.002254/0.002254, allocations: 213.7 kB / 21.41 MB, free: 1.641 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.495/1.495, allocations: 227.5 MB / 251.7 MB, free: 308 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.2341/0.2341, allocations: 46.15 MB / 351.1 MB, free: 14.38 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.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",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.002245/0.002245, allocations: 81.48 kB / 489.7 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1315, allocations: 62.45 MB / 0.5392 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02254/0.1541, allocations: 19.75 MB / 0.5585 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1668, allocations: 4.974 MB / 0.5633 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004439/0.1714, allocations: 163.4 kB / 0.5635 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01835/0.1898, allocations: 7.764 MB / 0.5711 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008453/0.1982, allocations: 2.055 MB / 0.5731 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.2027, allocations: 1.393 MB / 0.5744 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01788/0.2206, allocations: 12.17 MB / 0.5863 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3712/0.5919, allocations: 26.06 MB / 0.6118 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0128/0.6047, allocations: 6.503 MB / 0.6181 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01485/0.6196, allocations: 7.208 MB / 0.6252 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006363/0.626, allocations: 1.719 MB / 0.6268 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009124/0.6352, allocations: 1.919 MB / 0.6287 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008965/0.6442, allocations: 3.654 MB / 0.6323 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01528/0.6595, allocations: 7.001 MB / 0.6391 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02276/0.6823, allocations: 23.68 MB / 0.6622 GB, free: 9.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6824, allocations: 0 / 0.6622 GB, free: 9.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6824, allocations: 0 / 0.6622 GB, free: 9.789 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000575/0.683, allocations: 7.719 kB / 0.6622 GB, free: 9.785 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04537/0.7283, allocations: 14.83 MB / 0.6767 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7284, allocations: 11.69 kB / 0.6767 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005502/0.7339, allocations: 1.727 MB / 0.6784 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06147/0.7954, allocations: 11.17 MB / 0.6893 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/0.8119, allocations: 7.358 MB / 0.6965 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/0.8131, allocations: 0.8817 MB / 0.6974 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004876/0.818, allocations: 1.172 MB / 0.6985 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04825/0.8662, allocations: 18.61 MB / 0.7167 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000541/0.8668, allocations: 15.91 kB / 0.7167 GB, free: 4.082 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00389/0.8707, allocations: 0.4928 MB / 0.7172 GB, free: 3.602 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008306/0.8716, allocations: 0.6577 MB / 0.7178 GB, free: 2.941 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04257/0.9142, allocations: 19.13 MB / 0.7365 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1206/1.035, allocations: 60.37 MB / 0.7955 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0243/1.059, allocations: 16.63 MB / 0.8117 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008613/1.068, allocations: 4.546 MB / 0.8162 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/1.069, allocations: 393.2 kB / 0.8165 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.069, allocations: 103.7 kB / 0.8166 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=653): time 7.764e-06/1.069, allocations: 0 / 0.8166 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=653): time 0.02212/1.091, allocations: 12.46 MB / 0.8288 GB, free: 188 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/1.091, allocations: 120.5 kB / 0.8289 GB, free: 52 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01524/1.106, allocations: 8.612 MB / 0.8373 GB, free: 7.453 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001222/1.108, allocations: 133.7 kB / 0.8375 GB, free: 7.316 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004417/1.112, allocations: 4.604 MB / 0.8419 GB, free: 2.711 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00312/1.115, allocations: 2.295 MB / 0.8442 GB, free: 456 kB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2633/1.378, allocations: 1.466 MB / 0.8456 GB, free: 205.2 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.459e-05/1.379, allocations: 305.4 kB / 0.8459 GB, free: 204.9 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008173/1.387, allocations: 4.114 MB / 0.8499 GB, free: 204.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009354/1.396, allocations: 6.923 MB / 0.8567 GB, free: 201.5 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/1.411, allocations: 11.98 MB / 0.8684 GB, free: 194.3 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001858/1.412, allocations: 29.06 kB / 0.8684 GB, free: 194.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01926/1.431, allocations: 12.1 MB / 0.8802 GB, free: 190.2 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/1.431, allocations: 45.59 kB / 0.8803 GB, free: 190.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/1.431, allocations: 93.8 kB / 0.8804 GB, free: 190.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008876/1.432, allocations: 417.2 kB / 0.8808 GB, free: 190.1 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00704/1.439, allocations: 2.011 MB / 0.8827 GB, free: 189.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/1.444, allocations: 9.593 MB / 0.8921 GB, free: 181.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007312/1.452, allocations: 1.378 MB / 0.8934 GB, free: 180.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.453, allocations: 387.1 kB / 0.8938 GB, free: 180.5 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009293/1.462, allocations: 4.577 MB / 0.8983 GB, free: 178.5 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001969/1.464, allocations: 0.7383 MB / 0.899 GB, free: 178.1 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.48, allocations: 10.61 MB / 0.9094 GB, free: 174.1 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/1.48, allocations: 72.91 kB / 0.9094 GB, free: 174.1 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.48, allocations: 0 / 0.9094 GB, free: 174.1 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.324e-05/1.48, allocations: 34.78 kB / 0.9095 GB, free: 174.1 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1385/1.618, allocations: 161.4 MB / 1.067 GB, free: 14.63 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000217/1.619, allocations: 87.94 kB / 1.067 GB, free: 14.55 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005867/1.624, allocations: 1.556 MB / 1.069 GB, free: 12.99 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/1.625, allocations: 381.6 kB / 1.069 GB, free: 12.6 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001492/1.627, allocations: 259.9 kB / 1.069 GB, free: 12.34 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/1.632, allocations: 9.47 MB / 1.079 GB, free: 2.047 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.615e-05/1.632, allocations: 131.4 kB / 1.079 GB, free: 1.918 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3685/2, allocations: 18.63 MB / 1.097 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006952/2.007, allocations: 2.068 MB / 1.099 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002853/2.01, allocations: 247.9 kB / 1.099 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008319/2.018, allocations: 0.5433 MB / 1.1 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002401/2.021, allocations: 0.7441 MB / 1.1 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001102/2.022, allocations: 321.3 kB / 1.101 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01318/2.035, allocations: 6.048 MB / 1.107 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.72e-07/2.035, allocations: 5 kB / 1.107 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01265/2.048, allocations: 2.64 MB / 1.109 GB, free: 201.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02931/2.077, allocations: 19.54 MB / 1.128 GB, free: 189.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01756/2.095, allocations: 10.63 MB / 1.139 GB, free: 185.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 0.0001312/2.095, allocations: 17.69 kB / 1.139 GB, free: 185.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008519/2.104, allocations: 5.468 MB / 1.144 GB, free: 183.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01348/2.117, allocations: 1.493 MB / 1.146 GB, free: 182.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1508/2.268, allocations: 99.17 MB / 1.242 GB, free: 94.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/2.278, allocations: 7.774 MB / 1.25 GB, free: 87.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008278/2.287, allocations: 3.562 MB / 1.253 GB, free: 83.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007404/2.294, allocations: 4.205 MB / 1.258 GB, free: 79.27 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/2.294, allocations: 3.938 kB / 1.258 GB, free: 79.27 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7912/3.085, allocations: 187.3 MB / 1.44 GB, free: 172.7 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.36/31.44, allocations: 3.422 kB / 1.44 GB, free: 172.7 MB / 0.6701 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 35.09757520700805] Failed to read output from testmodel.py, exit status != 0: ['time', 'v[1].re', 'v[1].im', 'v[2].re', 'v[2].im', 'v[3].re', 'v[3].im'] 31.62835963978432 31.648057646 30.962043805 Calling exit ...