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.001493/0.001493, allocations: 106.5 kB / 21.22 MB, free: 0.5273 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.00155/0.00155, allocations: 213.3 kB / 24.54 MB, free: 3.895 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.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2534/0.2534, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.002234/0.002234, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3411, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02217/0.3633, allocations: 19.86 MB / 0.5809 GB, free: 388 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.3742, allocations: 5.005 MB / 0.5858 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.3784, allocations: 191 kB / 0.586 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01808/0.3964, allocations: 7.855 MB / 0.5936 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007515/0.404, allocations: 2.109 MB / 0.5957 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.4082, allocations: 1.433 MB / 0.5971 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.4251, allocations: 12.24 MB / 0.6091 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0313/0.4564, allocations: 16.87 MB / 0.6255 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/0.4672, allocations: 6.651 MB / 0.632 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.4797, allocations: 7.296 MB / 0.6392 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004878/0.4846, allocations: 1.719 MB / 0.6408 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0065/0.4911, allocations: 1.922 MB / 0.6427 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005967/0.4971, allocations: 3.662 MB / 0.6463 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01503/0.5121, allocations: 7.011 MB / 0.6531 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02943/0.5415, allocations: 23.67 MB / 0.6762 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.5415, allocations: 7.984 kB / 0.6763 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5415, allocations: 0 / 0.6763 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000737/0.5423, allocations: 0 / 0.6763 GB, free: 14.29 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.04482/0.5871, allocations: 14.75 MB / 0.6907 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5871, allocations: 8.031 kB / 0.6907 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005975/0.5931, allocations: 1.722 MB / 0.6923 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06004/0.6532, allocations: 11.18 MB / 0.7033 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/0.6712, allocations: 7.499 MB / 0.7106 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/0.6723, allocations: 0.8832 MB / 0.7114 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004821/0.6771, allocations: 1.172 MB / 0.7126 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05008/0.7272, allocations: 18.61 MB / 0.7308 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000602/0.7278, allocations: 27.83 kB / 0.7308 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004154/0.732, allocations: 496 kB / 0.7313 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008747/0.7328, allocations: 0.6577 MB / 0.7319 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5361/1.269, allocations: 19.14 MB / 0.7506 GB, free: 132 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0967/1.366, allocations: 59.54 MB / 0.8087 GB, free: 81.06 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/1.383, allocations: 10.7 MB / 0.8192 GB, free: 70.87 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005985/1.389, allocations: 4.216 MB / 0.8233 GB, free: 66.63 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/1.39, allocations: 237.4 kB / 0.8235 GB, free: 66.45 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.54e-05/1.39, allocations: 107.7 kB / 0.8236 GB, free: 66.33 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.084e-05/1.39, allocations: 0 / 0.8236 GB, free: 66.33 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01935/1.409, allocations: 12.01 MB / 0.8354 GB, free: 54.23 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/1.409, allocations: 116.5 kB / 0.8355 GB, free: 54.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/1.424, allocations: 8.611 MB / 0.8439 GB, free: 45.55 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/1.425, allocations: 133.7 kB / 0.844 GB, free: 45.41 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/1.428, allocations: 4.607 MB / 0.8485 GB, free: 41.29 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002274/1.43, allocations: 2.301 MB / 0.8508 GB, free: 38.97 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003809/1.434, allocations: 1.47 MB / 0.8522 GB, free: 37.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/1.434, allocations: 301.1 kB / 0.8525 GB, free: 37.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0058/1.44, allocations: 4.113 MB / 0.8565 GB, free: 33.08 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006963/1.447, allocations: 6.921 MB / 0.8633 GB, free: 24.89 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.46, allocations: 11.99 MB / 0.875 GB, free: 11.54 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.46, allocations: 27.94 kB / 0.875 GB, free: 11.52 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0224/1.483, allocations: 12.1 MB / 0.8868 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.483, allocations: 44 kB / 0.8869 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/1.483, allocations: 96 kB / 0.8869 GB, free: 15.17 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/1.485, allocations: 408.8 kB / 0.8873 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008485/1.493, allocations: 2.016 MB / 0.8893 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009009/1.502, allocations: 8.97 MB / 0.8981 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007623/1.51, allocations: 1.385 MB / 0.8994 GB, free: 1.684 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001595/1.511, allocations: 387.9 kB / 0.8998 GB, free: 1.305 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.01059/1.522, allocations: 4.582 MB / 0.9043 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002536/1.524, allocations: 0.7374 MB / 0.905 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02418/1.549, allocations: 10.6 MB / 0.9153 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.8e-05/1.549, allocations: 64 kB / 0.9154 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/1.549, allocations: 7.938 kB / 0.9154 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001195/1.549, allocations: 31.88 kB / 0.9154 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5186/2.067, allocations: 152.6 MB / 1.064 GB, free: 182.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004808/2.068, allocations: 84 kB / 1.065 GB, free: 182.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006592/2.074, allocations: 1.56 MB / 1.066 GB, free: 181 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/2.075, allocations: 377.4 kB / 1.066 GB, free: 180.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00158/2.077, allocations: 259.9 kB / 1.067 GB, free: 180.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/2.082, allocations: 8.846 MB / 1.075 GB, free: 171 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.775e-05/2.082, allocations: 132 kB / 1.075 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02428/2.107, allocations: 18.64 MB / 1.094 GB, free: 150.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005507/2.112, allocations: 2.072 MB / 1.096 GB, free: 148.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002394/2.115, allocations: 247.7 kB / 1.096 GB, free: 148.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00595/2.121, allocations: 0.5463 MB / 1.096 GB, free: 148 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/2.122, allocations: 0.7689 MB / 1.097 GB, free: 147.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008678/2.123, allocations: 319.9 kB / 1.097 GB, free: 146.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00909/2.132, allocations: 6.047 MB / 1.103 GB, free: 140.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/2.132, allocations: 0 / 1.103 GB, free: 140.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01031/2.142, allocations: 2.65 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.02224/2.165, allocations: 19.52 MB / 1.125 GB, free: 116.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01553/2.18, allocations: 10.34 MB / 1.135 GB, free: 106.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.671e-05/2.18, allocations: 16 kB / 1.135 GB, free: 106.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007791/2.188, allocations: 5.289 MB / 1.14 GB, free: 101.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/2.199, allocations: 1.49 MB / 1.142 GB, free: 99.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.163/2.362, allocations: 99.32 MB / 1.239 GB, free: 9.945 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01594/2.378, allocations: 7.777 MB / 1.246 GB, free: 2.129 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.3399/2.718, allocations: 3.559 MB / 1.25 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/2.728, allocations: 4.207 MB / 1.254 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of SimCode: time 1.272e-06/2.728, allocations: 2.906 kB / 1.254 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2592/2.987, allocations: 194.4 MB / 1.444 GB, free: 65.12 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.93/32.91, allocations: 15.38 kB / 1.444 GB, free: 65.11 MB / 0.6857 GB " [Timeout remaining time 627] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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: 36.046977455727756] 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'] 33.107839731965214 33.124303409 32.579955577 Calling exit ...