Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.00186/0.00186, 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.002268/0.002268, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002704/0.002704, allocations: 64.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2521, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01296/0.265, allocations: 10.07 MB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.2721, allocations: 3.427 MB / 445.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.2733, allocations: 87.56 kB / 445.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009288/0.2826, allocations: 3.885 MB / 449.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.2873, allocations: 1.558 MB / 451 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.29, allocations: 1.073 MB / 452 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.3027, allocations: 9.353 MB / 461.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02129/0.324, allocations: 12.96 MB / 474.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00752/0.3315, allocations: 5.175 MB / 479.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009976/0.3415, allocations: 6.165 MB / 485.7 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003283/0.3448, allocations: 1.395 MB / 487.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.3491, allocations: 1.656 MB / 488.7 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003453/0.3525, allocations: 2.934 MB / 491.7 MB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008748/0.3613, allocations: 5.451 MB / 497.1 MB, free: 5.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02287/0.3842, allocations: 18.91 MB / 0.5039 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3842, allocations: 0 / 0.5039 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3842, allocations: 0 / 0.5039 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003883/0.3846, allocations: 0 / 0.5039 GB, free: 2.445 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03644/0.421, allocations: 12.38 MB / 0.516 GB, free: 5.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4211, allocations: 12.03 kB / 0.516 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004708/0.4258, allocations: 1.328 MB / 0.5173 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0501/0.4759, allocations: 8.425 MB / 0.5256 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.4902, allocations: 6.023 MB / 0.5314 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007761/0.491, allocations: 0.6584 MB / 0.5321 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003543/0.4945, allocations: 0.8671 MB / 0.5329 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4232/0.9178, allocations: 16.01 MB / 0.5486 GB, free: 80.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000331/0.9181, allocations: 6.891 kB / 0.5486 GB, free: 80.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/0.9205, allocations: 378.6 kB / 0.5489 GB, free: 80.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004879/0.921, allocations: 0.5672 MB / 0.5495 GB, free: 80.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/0.9506, allocations: 15.77 MB / 0.5649 GB, free: 72.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06846/1.019, allocations: 46.68 MB / 0.6105 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/1.033, allocations: 8.502 MB / 0.6188 GB, free: 17.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004497/1.037, allocations: 3.257 MB / 0.6219 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005116/1.038, allocations: 138.6 kB / 0.6221 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.989e-05/1.038, allocations: 90.5 kB / 0.6222 GB, free: 13.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.697e-06/1.038, allocations: 7.984 kB / 0.6222 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02276/1.061, allocations: 11.1 MB / 0.633 GB, free: 2.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/1.061, allocations: 129 kB / 0.6331 GB, free: 2.695 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/1.067, allocations: 3.85 MB / 0.6369 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007138/1.067, allocations: 101.7 kB / 0.637 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003191/1.071, allocations: 4.046 MB / 0.6409 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002249/1.073, allocations: 1.685 MB / 0.6426 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002594/1.075, allocations: 1.492 MB / 0.644 GB, free: 7.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/1.076, allocations: 305.1 kB / 0.6443 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006368/1.082, allocations: 3.695 MB / 0.6479 GB, free: 3.977 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009225/1.091, allocations: 6.535 MB / 0.6543 GB, free: 12.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/1.108, allocations: 10.85 MB / 0.6649 GB, free: 15.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.014e-05/1.108, allocations: 35.88 kB / 0.665 GB, free: 15.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02484/1.133, allocations: 11.95 MB / 0.6766 GB, free: 3.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/1.133, allocations: 44 kB / 0.6767 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/1.133, allocations: 99.94 kB / 0.6768 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/1.138, allocations: 1.624 MB / 0.6783 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006886/1.145, allocations: 1.677 MB / 0.68 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/1.167, allocations: 17.06 MB / 0.6966 GB, free: 14.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/1.173, allocations: 0.9664 MB / 0.6976 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.174, allocations: 371.9 kB / 0.6979 GB, free: 13.35 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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 {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006938/1.181, allocations: 3.75 MB / 0.7016 GB, free: 9.586 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008856/1.182, allocations: 417.3 kB / 0.702 GB, free: 9.176 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/1.199, allocations: 8.522 MB / 0.7103 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-05/1.199, allocations: 51.94 kB / 0.7104 GB, free: 0.5156 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.624e-05/1.199, allocations: 12 kB / 0.7104 GB, free: 0.5039 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-05/1.199, allocations: 31.89 kB / 0.7104 GB, free: 484 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03397/1.233, allocations: 16.86 MB / 0.7269 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.233, allocations: 0 / 0.7269 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003924/1.237, allocations: 0.8698 MB / 0.7277 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005013/1.242, allocations: 1.514 MB / 0.7292 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007876/1.243, allocations: 104 kB / 0.7293 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2584/1.501, allocations: 16.85 MB / 0.7458 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.501, allocations: 6.906 kB / 0.7458 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/1.522, allocations: 12.26 MB / 0.7577 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00308/1.525, allocations: 1.08 MB / 0.7588 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.526, allocations: 83.72 kB / 0.7589 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.529, allocations: 300.5 kB / 0.7592 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008417/1.53, allocations: 343.6 kB / 0.7595 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/1.53, allocations: 146.6 kB / 0.7596 GB, free: 168.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003654/1.533, allocations: 2.574 MB / 0.7621 GB, free: 167.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.533, allocations: 0 / 0.7621 GB, free: 167.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007721/1.541, allocations: 2.413 MB / 0.7645 GB, free: 167.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.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 (455): * Single equations (assignments): 449 * 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 {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01941/1.561, allocations: 12.97 MB / 0.7772 GB, free: 162 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.574, allocations: 9.027 MB / 0.786 GB, free: 155.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.574, allocations: 0 / 0.786 GB, free: 155.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00611/1.58, allocations: 4.176 MB / 0.7901 GB, free: 151.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.583, allocations: 0.7415 MB / 0.7908 GB, free: 150.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08731/1.671, allocations: 61.41 MB / 0.8507 GB, free: 86.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006697/1.677, allocations: 6.046 MB / 0.8566 GB, free: 80.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00686/1.684, allocations: 3.259 MB / 0.8598 GB, free: 77.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004576/1.689, allocations: 3.073 MB / 0.8628 GB, free: 74.45 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/1.689, allocations: 0 / 0.8628 GB, free: 74.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/2.198, allocations: 133.8 MB / 0.9935 GB, free: 169.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.4/22.6, allocations: 8.047 kB / 0.9935 GB, free: 169.3 MB / 0.5607 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.278869591187686] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ie.re', 'Ie.im', 'Im.re', 'Im.im'] 22.75218804879114 22.767735908 22.379751385 Calling exit ...