Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 214.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 47.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2619, allocations: 53.36 MB / 431.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03517/0.2971, allocations: 31.17 MB / 462.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.3167, allocations: 8.938 MB / 471.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006739/0.3234, allocations: 218.9 kB / 471.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.3366, allocations: 5.033 MB / 476.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.3479, allocations: 3.123 MB / 479.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005827/0.3537, allocations: 1.665 MB / 481.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01439/0.3681, allocations: 8.87 MB / 490.2 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01623/0.3843, allocations: 9.229 MB / 499.4 MB, free: 2.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0075/0.3918, allocations: 4.343 MB / 0.4919 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008748/0.4006, allocations: 4.901 MB / 0.4967 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002948/0.4035, allocations: 1.168 MB / 0.4979 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005259/0.4088, allocations: 1.562 MB / 0.4994 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003386/0.4122, allocations: 2.412 MB / 0.5018 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007741/0.4199, allocations: 4.677 MB / 0.5063 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02266/0.4426, allocations: 15.89 MB / 0.5218 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.4426, allocations: 3.984 kB / 0.5218 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4426, allocations: 0 / 0.5218 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006118/0.4432, allocations: 0 / 0.5218 GB, free: 15.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03209/0.4753, allocations: 9.899 MB / 0.5315 GB, free: 5.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4753, allocations: 8.031 kB / 0.5315 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002547/0.4779, allocations: 1.145 MB / 0.5326 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2616/0.7395, allocations: 5.22 MB / 0.5377 GB, free: 91.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.7509, allocations: 5.15 MB / 0.5428 GB, free: 89.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004657/0.7514, allocations: 0.5379 MB / 0.5433 GB, free: 88.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/0.7539, allocations: 0.7087 MB / 0.544 GB, free: 88.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.7782, allocations: 11.35 MB / 0.5551 GB, free: 83.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/0.7784, allocations: 27.67 kB / 0.5551 GB, free: 83.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000901/0.7793, allocations: 297.9 kB / 0.5554 GB, free: 83.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003138/0.7796, allocations: 444.1 kB / 0.5558 GB, free: 83.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.7954, allocations: 10.87 MB / 0.5664 GB, free: 74.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/0.8475, allocations: 36.69 MB / 0.6022 GB, free: 37.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.8584, allocations: 7.512 MB / 0.6096 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/0.8618, allocations: 2.444 MB / 0.612 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.8729, allocations: 7.592 MB / 0.6194 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.873, allocations: 56.56 kB / 0.6194 GB, free: 20.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 3.857e-06/0.873, allocations: 0 / 0.6194 GB, free: 20.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01697/0.8899, allocations: 10.32 MB / 0.6295 GB, free: 10.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001525/0.8915, allocations: 1.919 MB / 0.6314 GB, free: 8.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004556/0.896, allocations: 3.843 MB / 0.6351 GB, free: 4.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003563/0.8964, allocations: 65.7 kB / 0.6352 GB, free: 4.723 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.8978, allocations: 3.678 MB / 0.6388 GB, free: 1.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006226/0.8984, allocations: 0.8732 MB / 0.6396 GB, free: 180 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/0.8998, allocations: 0.9575 MB / 0.6406 GB, free: 15.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9, allocations: 305.1 kB / 0.6409 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.903, allocations: 1.899 MB / 0.6427 GB, free: 13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005189/0.9082, allocations: 4.388 MB / 0.647 GB, free: 7.375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009133/0.9174, allocations: 6.804 MB / 0.6537 GB, free: 15.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-05/0.9175, allocations: 24 kB / 0.6537 GB, free: 15.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01461/0.9321, allocations: 7.005 MB / 0.6605 GB, free: 8.316 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.671e-05/0.9322, allocations: 40 kB / 0.6606 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.9323, allocations: 88 kB / 0.6606 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/0.9345, allocations: 0.7337 MB / 0.6614 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/0.9386, allocations: 1.127 MB / 0.6625 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/0.9465, allocations: 5.544 MB / 0.6679 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/0.9506, allocations: 323.3 kB / 0.6682 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007333/0.9513, allocations: 276 kB / 0.6684 GB, free: 76 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004521/0.9558, allocations: 2.522 MB / 0.6709 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009938/0.9568, allocations: 401.5 kB / 0.6713 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007902/0.9647, allocations: 4.263 MB / 0.6755 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.9647, allocations: 24 kB / 0.6755 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.9647, allocations: 4 kB / 0.6755 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.9648, allocations: 15.89 kB / 0.6755 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/0.9914, allocations: 14.01 MB / 0.6892 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/0.9914, allocations: 12 kB / 0.6892 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.9933, allocations: 483.2 kB / 0.6896 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.9955, allocations: 0.6859 MB / 0.6903 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/0.9958, allocations: 75.97 kB / 0.6904 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009985/1.006, allocations: 7.289 MB / 0.6975 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001961/1.008, allocations: 1.862 MB / 0.6993 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.019, allocations: 6.754 MB / 0.7059 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.021, allocations: 0.7626 MB / 0.7067 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006619/1.022, allocations: 63.98 kB / 0.7067 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.024, allocations: 159.8 kB / 0.7069 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004687/1.024, allocations: 233.4 kB / 0.7071 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/1.025, allocations: 95.97 kB / 0.7072 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004235/1.029, allocations: 2.518 MB / 0.7097 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.029, allocations: 0 / 0.7097 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005283/1.034, allocations: 1.305 MB / 0.7109 GB, free: 3.629 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/1.047, allocations: 7.446 MB / 0.7182 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008877/1.055, allocations: 4.815 MB / 0.7229 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.055, allocations: 4 kB / 0.7229 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003961/1.059, allocations: 2.189 MB / 0.725 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/1.064, allocations: 1.003 MB / 0.726 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3163/1.381, allocations: 46.26 MB / 0.7712 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003581/1.384, allocations: 4.5 MB / 0.7756 GB, free: 172.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003237/1.388, allocations: 1.367 MB / 0.7769 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002882/1.39, allocations: 2.561 MB / 0.7794 GB, free: 169.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/1.39, allocations: 0 / 0.7794 GB, free: 169.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1565/1.547, allocations: 109.3 MB / 0.8862 GB, free: 60.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.36/24.91, allocations: 7.094 kB / 0.8862 GB, free: 60.78 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.496323810999456] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 25.093897399001435 25.109999954 24.663950955 Calling exit ...