Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.001476/0.001476, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.453/1.453, allocations: 230.6 MB / 253.4 MB, free: 14.5 MB / 206.1 MB " [Timeout remaining time 178] 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.001576/0.001576, allocations: 208.9 kB / 310 MB, free: 3.129 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04209/0.04209, allocations: 8.909 MB / 375.4 MB, free: 6.77 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 75.88 kB / 0.49 GB, free: 44.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07725/0.07963, allocations: 55.62 MB / 0.5443 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01897/0.0986, allocations: 16.69 MB / 0.5606 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1956/0.2942, allocations: 5.615 MB / 0.5661 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.2967, allocations: 117 kB / 0.5662 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.2999, allocations: 1.265 MB / 0.5675 GB, free: 9.445 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.004667/0.3046, allocations: 1.567 MB / 0.569 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.3072, allocations: 1.057 MB / 0.57 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005457/0.3126, allocations: 4.637 MB / 0.5746 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/0.3156, allocations: 1.991 MB / 0.5765 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.3189, allocations: 2.121 MB / 0.5786 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.3233, allocations: 2.488 MB / 0.581 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.3247, allocations: 0.5596 MB / 0.5816 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.3272, allocations: 0.801 MB / 0.5823 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.3285, allocations: 1.248 MB / 0.5836 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003654/0.3321, allocations: 2.382 MB / 0.5859 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008602/0.3407, allocations: 7.382 MB / 0.5931 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3407, allocations: 4 kB / 0.5931 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3407, allocations: 0 / 0.5931 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001947/0.3409, allocations: 1.531 kB / 0.5931 GB, free: 0.7578 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.0148/0.3557, allocations: 4.887 MB / 0.5979 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3558, allocations: 12.86 kB / 0.5979 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000156/0.3559, allocations: 108.1 kB / 0.598 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001097/0.357, allocations: 0.5536 MB / 0.5985 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.3622, allocations: 0.9388 MB / 0.5994 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006581/0.3688, allocations: 2.699 MB / 0.6021 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.3691, allocations: 284.9 kB / 0.6023 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009035/0.37, allocations: 369.2 kB / 0.6027 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.3801, allocations: 4.675 MB / 0.6073 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.3802, allocations: 11.5 kB / 0.6073 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006677/0.3808, allocations: 150.5 kB / 0.6074 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.381, allocations: 156.4 kB / 0.6076 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008979/0.39, allocations: 3.904 MB / 0.6114 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/0.4202, allocations: 14.96 MB / 0.626 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/0.4251, allocations: 2.403 MB / 0.6283 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.4275, allocations: 1.201 MB / 0.6295 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007921/0.4354, allocations: 3.538 MB / 0.633 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.4355, allocations: 43.56 kB / 0.633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=120): time 4.078e-06/0.4355, allocations: 1.078 kB / 0.633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.0125/0.448, allocations: 5.156 MB / 0.638 GB, free: 9.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.448, allocations: 68.72 kB / 0.6381 GB, free: 9.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/0.4524, allocations: 2.174 MB / 0.6402 GB, free: 7.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.4527, allocations: 49.7 kB / 0.6403 GB, free: 7.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.4543, allocations: 1.794 MB / 0.642 GB, free: 5.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/0.455, allocations: 0.5276 MB / 0.6425 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009757/0.4559, allocations: 424 kB / 0.6429 GB, free: 4.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4561, allocations: 305.1 kB / 0.6432 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4575, allocations: 0.7705 MB / 0.644 GB, free: 3.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4596, allocations: 1.549 MB / 0.6455 GB, free: 1.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/0.4755, allocations: 4.802 MB / 0.6502 GB, free: 12.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-05/0.4755, allocations: 12 kB / 0.6502 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005597/0.4811, allocations: 2.814 MB / 0.653 GB, free: 9.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.4812, allocations: 16 kB / 0.653 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/0.4812, allocations: 24 kB / 0.653 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008146/0.482, allocations: 282.8 kB / 0.6533 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.4839, allocations: 0.4953 MB / 0.6537 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.4883, allocations: 3.292 MB / 0.657 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.4905, allocations: 91.88 kB / 0.657 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.4908, allocations: 108 kB / 0.6571 GB, free: 5.312 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002319/0.4931, allocations: 1.089 MB / 0.6582 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/0.4938, allocations: 238.4 kB / 0.6584 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.4974, allocations: 1.782 MB / 0.6602 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4974, allocations: 16 kB / 0.6602 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.4975, allocations: 4 kB / 0.6602 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.4975, allocations: 7.922 kB / 0.6602 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.5077, allocations: 5.003 MB / 0.6651 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.5078, allocations: 4 kB / 0.6651 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.509, allocations: 259.7 kB / 0.6653 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000692/0.5097, allocations: 219 kB / 0.6656 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.5098, allocations: 35.98 kB / 0.6656 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/0.5139, allocations: 3.15 MB / 0.6687 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5139, allocations: 7.969 kB / 0.6687 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004779/0.5187, allocations: 2.704 MB / 0.6713 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.52, allocations: 397.4 kB / 0.6717 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006805/0.5207, allocations: 32 kB / 0.6717 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.5221, allocations: 63.89 kB / 0.6718 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.5224, allocations: 105.1 kB / 0.6719 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5225, allocations: 36 kB / 0.6719 GB, free: 5.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002828/0.5253, allocations: 1.455 MB / 0.6733 GB, free: 4.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5253, allocations: 4 kB / 0.6733 GB, free: 4.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002938/0.5283, allocations: 0.6405 MB / 0.674 GB, free: 3.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 ($outputAlias_ie,smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.Phi.im) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00563/0.5339, allocations: 3.315 MB / 0.6772 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003837/0.5377, allocations: 1.997 MB / 0.6792 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5377, allocations: 0 / 0.6792 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.5393, allocations: 0.8884 MB / 0.68 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.5429, allocations: 0.5829 MB / 0.6806 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/0.5842, allocations: 21.91 MB / 0.702 GB, free: 6.031 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/0.5873, allocations: 2.443 MB / 0.7044 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001815/0.5891, allocations: 0.5001 MB / 0.7049 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/0.5912, allocations: 1.347 MB / 0.7062 GB, free: 1.707 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5912, allocations: 0 / 0.7062 GB, free: 1.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/0.7081, allocations: 57.85 MB / 0.7627 GB, free: 8.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.34, allocations: 11.14 kB / 0.7627 GB, free: 8.281 MB / 0.545 GB " [Timeout remaining time 643] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.099247716018] Failed to read output from testmodel.py, exit status != 0: 16.54316680098418 16.738737085 16.39506689 Calling exit ...