Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.001647/0.001647, 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.402/1.402, 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.0015/0.0015, allocations: 204.8 kB / 310 MB, free: 3.133 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.04093/0.04093, allocations: 8.916 MB / 375.4 MB, free: 6.793 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_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",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.002483/0.002483, allocations: 88.19 kB / 0.49 GB, free: 44.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07917/0.08165, allocations: 55.61 MB / 0.5443 GB, free: 5.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01978/0.1014, allocations: 16.7 MB / 0.5606 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.3099, allocations: 5.606 MB / 0.5661 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.3124, allocations: 121.7 kB / 0.5662 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.3159, allocations: 1.262 MB / 0.5675 GB, free: 9.461 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.004687/0.3206, allocations: 1.571 MB / 0.569 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.3232, allocations: 1.057 MB / 0.57 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005405/0.3286, allocations: 4.641 MB / 0.5746 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003023/0.3317, allocations: 1.995 MB / 0.5765 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.335, allocations: 2.115 MB / 0.5786 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004085/0.339, allocations: 2.484 MB / 0.581 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.3406, allocations: 0.5594 MB / 0.5816 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.3432, allocations: 0.8045 MB / 0.5823 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.3446, allocations: 1.249 MB / 0.5836 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003807/0.3484, allocations: 2.384 MB / 0.5859 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008962/0.3574, allocations: 7.383 MB / 0.5931 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3574, allocations: 0 / 0.5931 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3574, allocations: 0 / 0.5931 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002033/0.3576, allocations: 0 / 0.5931 GB, free: 0.7695 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.01636/0.374, allocations: 4.883 MB / 0.5979 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.374, allocations: 12.95 kB / 0.5979 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002002/0.3742, allocations: 116.7 kB / 0.598 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001633/0.3759, allocations: 0.5475 MB / 0.5985 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005611/0.3815, allocations: 0.9458 MB / 0.5994 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00768/0.3891, allocations: 2.695 MB / 0.6021 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.3895, allocations: 276 kB / 0.6023 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/0.3908, allocations: 371.6 kB / 0.6027 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.402, allocations: 4.699 MB / 0.6073 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-05/0.4021, allocations: 7.891 kB / 0.6073 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005114/0.4026, allocations: 147.6 kB / 0.6074 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.4028, allocations: 156.9 kB / 0.6076 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.4115, allocations: 3.91 MB / 0.6114 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.4429, allocations: 15.1 MB / 0.6261 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005687/0.4486, allocations: 2.527 MB / 0.6286 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/0.4516, allocations: 1.364 MB / 0.6299 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009856/0.4614, allocations: 3.7 MB / 0.6336 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.4615, allocations: 47.88 kB / 0.6336 GB, free: 14.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.567e-06/0.4615, allocations: 7.938 kB / 0.6336 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.01507/0.4766, allocations: 5.866 MB / 0.6393 GB, free: 8.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.4766, allocations: 68.72 kB / 0.6394 GB, free: 8.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004504/0.4811, allocations: 2.09 MB / 0.6414 GB, free: 6.211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002392/0.4814, allocations: 57.7 kB / 0.6415 GB, free: 6.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.4831, allocations: 1.752 MB / 0.6432 GB, free: 4.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007543/0.4839, allocations: 0.578 MB / 0.6438 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008408/0.4847, allocations: 412.1 kB / 0.6442 GB, free: 3.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4848, allocations: 303 kB / 0.6445 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.4863, allocations: 0.7892 MB / 0.6452 GB, free: 2.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.4884, allocations: 1.54 MB / 0.6467 GB, free: 436 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/0.5043, allocations: 4.876 MB / 0.6515 GB, free: 11.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-05/0.5044, allocations: 11.94 kB / 0.6515 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=286) (initialization): time 0.006179/0.5106, allocations: 2.881 MB / 0.6543 GB, free: 8.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.5106, allocations: 12 kB / 0.6543 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/0.5106, allocations: 28 kB / 0.6544 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.5117, allocations: 369.1 kB / 0.6547 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.5136, allocations: 495.2 kB / 0.6552 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.5195, allocations: 3.991 MB / 0.6591 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.522, allocations: 87.94 kB / 0.6592 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004009/0.5224, allocations: 104 kB / 0.6593 GB, free: 3.137 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (259): * Single equations (assignments): 257 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002679/0.5251, allocations: 1.094 MB / 0.6603 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007872/0.5259, allocations: 242.5 kB / 0.6606 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.5303, allocations: 1.983 MB / 0.6625 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.5303, allocations: 19.94 kB / 0.6625 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.5304, allocations: 4 kB / 0.6625 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.5304, allocations: 7.969 kB / 0.6625 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5421, allocations: 5.466 MB / 0.6679 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.5422, allocations: 4 kB / 0.6679 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.5434, allocations: 275.6 kB / 0.6681 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008434/0.5443, allocations: 280.8 kB / 0.6684 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.5444, allocations: 35.98 kB / 0.6684 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.5497, allocations: 3.729 MB / 0.6721 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.5497, allocations: 7.938 kB / 0.6721 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/0.5558, allocations: 2.973 MB / 0.675 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/0.5576, allocations: 410.4 kB / 0.6754 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008747/0.5585, allocations: 36 kB / 0.6754 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.5602, allocations: 64.03 kB / 0.6755 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.5606, allocations: 117 kB / 0.6756 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.5608, allocations: 47.98 kB / 0.6756 GB, free: 2.098 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003225/0.564, allocations: 1.403 MB / 0.677 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.564, allocations: 0 / 0.677 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003455/0.5675, allocations: 0.6484 MB / 0.6776 GB, free: 28 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 ($outputAlias_ie,smee.phiMechanical,smee.is[2],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 (135): * Single equations (assignments): 134 * 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 {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006139/0.5736, allocations: 3.589 MB / 0.6811 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.5778, allocations: 2.13 MB / 0.6832 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.5778, allocations: 6 kB / 0.6832 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.5798, allocations: 1.033 MB / 0.6842 GB, free: 9.191 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.5834, allocations: 0.5794 MB / 0.6848 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04366/0.627, allocations: 22.26 MB / 0.7065 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003493/0.6305, allocations: 2.447 MB / 0.7089 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001946/0.6325, allocations: 0.4962 MB / 0.7094 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/0.6348, allocations: 1.358 MB / 0.7107 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.6349, allocations: 0 / 0.7107 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/0.7569, allocations: 59.01 MB / 0.7684 GB, free: 2.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.35, allocations: 12.06 kB / 0.7684 GB, free: 2.426 MB / 0.545 GB " [Timeout remaining time 643] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.182132415939122] Failed to read output from testmodel.py, exit status != 0: 16.55119377700612 16.800166277 16.438502084 Calling exit ...