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.001831/0.001831, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001997/0.001997, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.437/1.437, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2306/0.2306, allocations: 46.94 MB / 361.6 MB, free: 4.18 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.00231/0.00231, allocations: 83.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3832, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02504/0.4082, allocations: 19.86 MB / 0.5809 GB, free: 360 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.4199, allocations: 4.997 MB / 0.5858 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003593/0.4235, allocations: 195 kB / 0.586 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01838/0.4419, allocations: 7.851 MB / 0.5936 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008466/0.4504, allocations: 2.121 MB / 0.5957 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.4548, allocations: 1.429 MB / 0.5971 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.4715, allocations: 12.24 MB / 0.6091 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02857/0.5001, allocations: 16.87 MB / 0.6255 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.5105, allocations: 6.655 MB / 0.632 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.5236, allocations: 7.292 MB / 0.6392 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00534/0.5289, allocations: 1.719 MB / 0.6408 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008406/0.5373, allocations: 1.922 MB / 0.6427 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008671/0.546, allocations: 3.655 MB / 0.6463 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01544/0.5614, allocations: 7.011 MB / 0.6531 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03173/0.5932, allocations: 23.68 MB / 0.6763 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.5932, allocations: 4 kB / 0.6763 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5932, allocations: 0 / 0.6763 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0006794/0.5939, allocations: 0 / 0.6763 GB, free: 14.27 MB / 0.5137 GB 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.04609/0.6399, allocations: 14.75 MB / 0.6907 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.64, allocations: 8.031 kB / 0.6907 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006754/0.6468, allocations: 1.73 MB / 0.6924 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06065/0.7074, allocations: 11.17 MB / 0.7033 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/0.7237, allocations: 7.491 MB / 0.7106 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009621/0.7247, allocations: 0.8871 MB / 0.7114 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005268/0.7299, allocations: 1.172 MB / 0.7126 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0524/0.7823, allocations: 18.61 MB / 0.7308 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006021/0.7829, allocations: 23.89 kB / 0.7308 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004511/0.7874, allocations: 499.7 kB / 0.7313 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008466/0.7883, allocations: 0.6577 MB / 0.7319 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.599/1.387, allocations: 19.14 MB / 0.7506 GB, free: 132 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.498, allocations: 59.54 MB / 0.8087 GB, free: 81 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/1.515, allocations: 10.69 MB / 0.8192 GB, free: 70.82 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005892/1.52, allocations: 4.22 MB / 0.8233 GB, free: 66.57 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00048/1.521, allocations: 241.5 kB / 0.8235 GB, free: 66.39 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.692e-05/1.521, allocations: 103.7 kB / 0.8236 GB, free: 66.27 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.965e-06/1.521, allocations: 0 / 0.8236 GB, free: 66.27 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01708/1.538, allocations: 12.01 MB / 0.8354 GB, free: 54.17 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/1.538, allocations: 120.5 kB / 0.8355 GB, free: 54.04 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/1.549, allocations: 8.611 MB / 0.8439 GB, free: 45.48 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.551, allocations: 133.7 kB / 0.844 GB, free: 45.35 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002693/1.553, allocations: 4.614 MB / 0.8485 GB, free: 41.23 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/1.555, allocations: 2.298 MB / 0.8508 GB, free: 38.93 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/1.557, allocations: 1.466 MB / 0.8522 GB, free: 37.46 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.242e-05/1.557, allocations: 305.1 kB / 0.8525 GB, free: 37.16 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00552/1.563, allocations: 4.113 MB / 0.8565 GB, free: 33.04 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007585/1.57, allocations: 6.913 MB / 0.8633 GB, free: 24.86 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/1.583, allocations: 11.99 MB / 0.875 GB, free: 11.51 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.526e-05/1.583, allocations: 24 kB / 0.875 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.019/1.602, allocations: 12.1 MB / 0.8868 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/1.603, allocations: 44 kB / 0.8868 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/1.603, allocations: 92 kB / 0.8869 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/1.604, allocations: 408.9 kB / 0.8873 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008043/1.612, allocations: 2.02 MB / 0.8893 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008885/1.621, allocations: 8.974 MB / 0.8981 GB, free: 3.039 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008421/1.629, allocations: 1.389 MB / 0.8994 GB, free: 1.641 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/1.631, allocations: 384 kB / 0.8998 GB, free: 1.266 MB / 0.5763 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.009619/1.641, allocations: 4.581 MB / 0.9043 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/1.642, allocations: 0.7374 MB / 0.905 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/1.662, allocations: 10.6 MB / 0.9153 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.138e-05/1.662, allocations: 68 kB / 0.9154 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.662, allocations: 7.938 kB / 0.9154 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/1.662, allocations: 31.88 kB / 0.9154 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.472/2.134, allocations: 152.6 MB / 1.064 GB, free: 182.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000414/2.134, allocations: 84 kB / 1.065 GB, free: 182.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006527/2.141, allocations: 1.558 MB / 1.066 GB, free: 180.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/2.142, allocations: 384.2 kB / 1.066 GB, free: 180.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001292/2.143, allocations: 259.9 kB / 1.067 GB, free: 180.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/2.148, allocations: 8.845 MB / 1.075 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/2.148, allocations: 135.4 kB / 1.075 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/2.169, allocations: 18.63 MB / 1.094 GB, free: 150.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0058/2.174, allocations: 2.075 MB / 1.096 GB, free: 148.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002334/2.177, allocations: 243.9 kB / 1.096 GB, free: 148.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006652/2.183, allocations: 0.5424 MB / 1.096 GB, free: 147.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001661/2.185, allocations: 0.7689 MB / 1.097 GB, free: 147.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006026/2.186, allocations: 315.9 kB / 1.097 GB, free: 146.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01001/2.196, allocations: 6.051 MB / 1.103 GB, free: 140.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/2.196, allocations: 0 / 1.103 GB, free: 140.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01051/2.206, allocations: 2.644 MB / 1.106 GB, free: 138.4 MB / 0.67 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.02332/2.23, allocations: 19.54 MB / 1.125 GB, free: 116.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01671/2.246, allocations: 10.33 MB / 1.135 GB, free: 106.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.778e-05/2.246, allocations: 15.72 kB / 1.135 GB, free: 106.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007284/2.254, allocations: 5.285 MB / 1.14 GB, free: 101 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/2.264, allocations: 1.491 MB / 1.142 GB, free: 99.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1462/2.41, allocations: 99.31 MB / 1.239 GB, free: 9.871 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01348/2.423, allocations: 7.773 MB / 1.246 GB, free: 2.059 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.3054/2.729, allocations: 3.564 MB / 1.25 GB, free: 227.3 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007436/2.736, allocations: 4.205 MB / 1.254 GB, free: 227.3 MB / 0.6857 GB Notification: Performance of SimCode: time 2.003e-06/2.736, allocations: 0 / 1.254 GB, free: 227.3 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/3.001, allocations: 194.4 MB / 1.444 GB, free: 65.12 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.02/32.02, allocations: 7.938 kB / 1.444 GB, free: 65.11 MB / 0.6857 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.51308916602284] 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'] 32.212766830809414 32.222352055 31.626495672 Calling exit ...