Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_0_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_0_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.001488/0.001488, allocations: 51.92 kB / 365.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1108, allocations: 52.13 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2424/0.3532, allocations: 30.46 MB / 448.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.3692, allocations: 8.658 MB / 456.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006864/0.3761, allocations: 222.5 kB / 457.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.388, allocations: 5.003 MB / 462.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.3984, allocations: 3.053 MB / 465.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005091/0.4035, allocations: 1.601 MB / 466.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.4147, allocations: 8.732 MB / 475.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/0.4311, allocations: 10.13 MB / 485.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007902/0.439, allocations: 4.322 MB / 490 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008452/0.4474, allocations: 4.794 MB / 494.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.4502, allocations: 1.166 MB / 495.9 MB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005693/0.4559, allocations: 1.529 MB / 497.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003383/0.4593, allocations: 2.415 MB / 499.9 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009055/0.4683, allocations: 4.666 MB / 0.4927 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02315/0.4915, allocations: 15.84 MB / 0.5082 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4915, allocations: 0 / 0.5082 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4915, allocations: 0 / 0.5082 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004386/0.4919, allocations: 0 / 0.5082 GB, free: 15.38 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03198/0.5239, allocations: 9.933 MB / 0.5179 GB, free: 5.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.5239, allocations: 8.031 kB / 0.5179 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003987/0.5279, allocations: 1.145 MB / 0.519 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/0.5584, allocations: 5.321 MB / 0.5242 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.5701, allocations: 5.119 MB / 0.5292 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006018/0.5707, allocations: 0.5338 MB / 0.5297 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/0.5736, allocations: 0.7035 MB / 0.5304 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/0.6025, allocations: 11.33 MB / 0.5415 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000329/0.6029, allocations: 19.89 kB / 0.5415 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/0.6051, allocations: 305.8 kB / 0.5418 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005252/0.6057, allocations: 443 kB / 0.5422 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02539/0.6311, allocations: 10.84 MB / 0.5528 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07187/0.7029, allocations: 37.69 MB / 0.5896 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02514/0.7281, allocations: 27.77 MB / 0.6167 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00476/0.7328, allocations: 2.427 MB / 0.6191 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/0.7481, allocations: 7.912 MB / 0.6268 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/0.7482, allocations: 56.5 kB / 0.6269 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.288e-06/0.7482, allocations: 0 / 0.6269 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.2343/0.9825, allocations: 10.42 MB / 0.6371 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001943/0.9845, allocations: 2.002 MB / 0.639 GB, free: 157 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008597/0.9931, allocations: 3.829 MB / 0.6428 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005888/0.9936, allocations: 60.7 kB / 0.6428 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003136/0.9968, allocations: 3.682 MB / 0.6464 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.998, allocations: 0.8653 MB / 0.6473 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/1, allocations: 0.9676 MB / 0.6482 GB, free: 152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/1, allocations: 309.2 kB / 0.6485 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003223/1.003, allocations: 1.891 MB / 0.6503 GB, free: 151 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004656/1.008, allocations: 4.394 MB / 0.6546 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/1.016, allocations: 6.785 MB / 0.6613 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/1.016, allocations: 24.75 kB / 0.6613 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01292/1.029, allocations: 6.982 MB / 0.6681 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/1.029, allocations: 43.5 kB / 0.6682 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.029, allocations: 87.72 kB / 0.6682 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/1.031, allocations: 0.7386 MB / 0.669 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00416/1.035, allocations: 1.112 MB / 0.67 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/1.042, allocations: 5.648 MB / 0.6756 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/1.047, allocations: 308.9 kB / 0.6759 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009695/1.048, allocations: 278.8 kB / 0.6761 GB, free: 134.9 MB / 0.5137 GB 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.004666/1.052, allocations: 2.527 MB / 0.6786 GB, free: 133.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.054, allocations: 406.7 kB / 0.679 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/1.06, allocations: 4.253 MB / 0.6831 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.06, allocations: 23.12 kB / 0.6831 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.06, allocations: 3.875 kB / 0.6832 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.06, allocations: 19.48 kB / 0.6832 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/1.081, allocations: 14.27 MB / 0.6971 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.081, allocations: 12 kB / 0.6971 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.082, allocations: 475.3 kB / 0.6976 GB, free: 119.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/1.084, allocations: 0.6895 MB / 0.6982 GB, free: 118.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/1.084, allocations: 77.56 kB / 0.6983 GB, free: 118.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/1.092, allocations: 7.495 MB / 0.7056 GB, free: 110.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001302/1.093, allocations: 1.948 MB / 0.7075 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/1.102, allocations: 6.739 MB / 0.7141 GB, free: 101.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/1.104, allocations: 0.8145 MB / 0.7149 GB, free: 100.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000935/1.105, allocations: 67.92 kB / 0.715 GB, free: 100.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.107, allocations: 159.8 kB / 0.7151 GB, free: 100.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004489/1.107, allocations: 222.2 kB / 0.7153 GB, free: 100.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.108, allocations: 87.98 kB / 0.7154 GB, free: 100.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003774/1.111, allocations: 2.509 MB / 0.7179 GB, free: 97.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/1.111, allocations: 0 / 0.7179 GB, free: 97.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006239/1.118, allocations: 1.297 MB / 0.7191 GB, free: 96.57 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.009642/1.127, allocations: 7.422 MB / 0.7264 GB, free: 88.87 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007553/1.135, allocations: 4.964 MB / 0.7312 GB, free: 83.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.135, allocations: 4 kB / 0.7312 GB, free: 83.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003597/1.138, allocations: 2.258 MB / 0.7334 GB, free: 81.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/1.144, allocations: 0.9886 MB / 0.7344 GB, free: 80.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06681/1.211, allocations: 46.2 MB / 0.7795 GB, free: 30.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004647/1.216, allocations: 4.497 MB / 0.7839 GB, free: 26.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003581/1.219, allocations: 1.364 MB / 0.7852 GB, free: 24.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003302/1.223, allocations: 2.538 MB / 0.7877 GB, free: 22.29 MB / 0.5137 GB Notification: Performance of SimCode: time 1.352e-06/1.223, allocations: 0 / 0.7877 GB, free: 22.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3863/1.609, allocations: 104.8 MB / 0.8901 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.41/23.02, allocations: 17.39 kB / 0.8901 GB, free: 130.5 MB / 0.5294 GB " [Timeout remaining time 637] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.78011531382799] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 23.185619371011853 23.200513128 22.705672203 Calling exit ...