Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.001959/0.001959, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002257/0.002257, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_trunk_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_trunk_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.001897/0.001897, allocations: 63.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2789, allocations: 53.42 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03618/0.3151, allocations: 31.17 MB / 462.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0214/0.3365, allocations: 8.931 MB / 471.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008103/0.3446, allocations: 222.9 kB / 471.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01371/0.3583, allocations: 5.03 MB / 476.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.3694, allocations: 3.12 MB / 479.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.3748, allocations: 1.657 MB / 481.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01464/0.3895, allocations: 8.88 MB / 490.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01791/0.4074, allocations: 9.221 MB / 499.4 MB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00885/0.4162, allocations: 4.34 MB / 0.492 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.4267, allocations: 4.905 MB / 0.4968 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004628/0.4314, allocations: 1.164 MB / 0.4979 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006226/0.4376, allocations: 1.562 MB / 0.4994 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004686/0.4423, allocations: 2.415 MB / 0.5018 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.4524, allocations: 4.677 MB / 0.5064 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02552/0.4779, allocations: 15.89 MB / 0.5219 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.4779, allocations: 4 kB / 0.5219 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4779, allocations: 0 / 0.5219 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005401/0.4785, allocations: 4 kB / 0.5219 GB, free: 15.08 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.03482/0.5133, allocations: 9.888 MB / 0.5315 GB, free: 5.105 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5133, allocations: 12.03 kB / 0.5315 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004395/0.5177, allocations: 1.149 MB / 0.5327 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2654/0.7831, allocations: 5.219 MB / 0.5378 GB, free: 90.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.795, allocations: 5.148 MB / 0.5428 GB, free: 89.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.7955, allocations: 0.5304 MB / 0.5433 GB, free: 88.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002534/0.798, allocations: 0.7092 MB / 0.544 GB, free: 88.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.82, allocations: 11.35 MB / 0.5551 GB, free: 83.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002308/0.8202, allocations: 31.05 kB / 0.5551 GB, free: 83.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.8214, allocations: 294 kB / 0.5554 GB, free: 83.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003165/0.8217, allocations: 450.5 kB / 0.5558 GB, free: 83.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0214/0.8431, allocations: 10.87 MB / 0.5664 GB, free: 73.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0609/0.904, allocations: 36.7 MB / 0.6023 GB, free: 36.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.9157, allocations: 7.509 MB / 0.6096 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/0.9194, allocations: 2.448 MB / 0.612 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.9339, allocations: 7.584 MB / 0.6194 GB, free: 20.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.9339, allocations: 60.5 kB / 0.6195 GB, free: 20.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.258e-06/0.9339, allocations: 1.594 kB / 0.6195 GB, free: 20.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.0192/0.9531, allocations: 10.32 MB / 0.6295 GB, free: 10.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001576/0.9547, allocations: 1.91 MB / 0.6314 GB, free: 8.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006454/0.9611, allocations: 3.843 MB / 0.6352 GB, free: 4.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004395/0.9616, allocations: 65.7 kB / 0.6352 GB, free: 4.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001821/0.9634, allocations: 3.683 MB / 0.6388 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009129/0.9643, allocations: 0.8658 MB / 0.6397 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002317/0.9666, allocations: 0.9653 MB / 0.6406 GB, free: 14.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9668, allocations: 305.2 kB / 0.6409 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/0.9704, allocations: 1.895 MB / 0.6428 GB, free: 12.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005669/0.976, allocations: 4.392 MB / 0.647 GB, free: 7.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009831/0.9859, allocations: 6.797 MB / 0.6537 GB, free: 15.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.595e-05/0.9859, allocations: 27.94 kB / 0.6537 GB, free: 15.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01581/1.002, allocations: 7.004 MB / 0.6605 GB, free: 8.016 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.002, allocations: 42.5 kB / 0.6606 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/1.002, allocations: 92.91 kB / 0.6607 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/1.004, allocations: 0.7408 MB / 0.6614 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/1.009, allocations: 1.123 MB / 0.6625 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008691/1.017, allocations: 5.545 MB / 0.6679 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/1.022, allocations: 323.3 kB / 0.6682 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/1.023, allocations: 276 kB / 0.6685 GB, free: 15.77 MB / 494.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.006029/1.029, allocations: 2.522 MB / 0.6709 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/1.031, allocations: 405.5 kB / 0.6713 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009883/1.041, allocations: 4.251 MB / 0.6755 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/1.041, allocations: 28 kB / 0.6755 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/1.041, allocations: 8 kB / 0.6755 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.553e-05/1.041, allocations: 19.89 kB / 0.6755 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/1.072, allocations: 14.01 MB / 0.6892 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/1.072, allocations: 8 kB / 0.6892 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/1.074, allocations: 484 kB / 0.6897 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/1.076, allocations: 0.6936 MB / 0.6904 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003821/1.076, allocations: 71.97 kB / 0.6904 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/1.087, allocations: 7.293 MB / 0.6976 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001949/1.088, allocations: 1.853 MB / 0.6994 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.1, allocations: 6.758 MB / 0.706 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.103, allocations: 0.7626 MB / 0.7067 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/1.103, allocations: 60 kB / 0.7068 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.105, allocations: 163.9 kB / 0.7069 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006448/1.106, allocations: 225.4 kB / 0.7071 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.106, allocations: 95.97 kB / 0.7072 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005069/1.111, allocations: 2.526 MB / 0.7097 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.111, allocations: 0 / 0.7097 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006039/1.117, allocations: 1.301 MB / 0.711 GB, free: 3.32 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.01129/1.129, allocations: 7.45 MB / 0.7182 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008444/1.137, allocations: 4.812 MB / 0.7229 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.137, allocations: 4 kB / 0.7229 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003887/1.141, allocations: 2.193 MB / 0.7251 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/1.146, allocations: 0.9944 MB / 0.7261 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3174/1.463, allocations: 46.25 MB / 0.7712 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006351/1.469, allocations: 4.5 MB / 0.7756 GB, free: 172.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004058/1.474, allocations: 1.368 MB / 0.7769 GB, free: 171.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003574/1.477, allocations: 2.557 MB / 0.7794 GB, free: 169 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.477, allocations: 0 / 0.7794 GB, free: 169 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.17/1.647, allocations: 109.3 MB / 0.8862 GB, free: 60.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.53/25.18, allocations: 4 kB / 0.8862 GB, free: 60.34 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.831854250001925] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 25.364962436000496 25.384854492 24.902761412 Calling exit ...