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.001555/0.001555, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.5 MB, free: 14.26 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.001491/0.001491, allocations: 214.6 kB / 310 MB, free: 3.008 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.04048/0.04048, allocations: 8.922 MB / 375.4 MB, free: 6.566 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.002363/0.002363, allocations: 83.86 kB / 0.49 GB, free: 44.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07965/0.08202, allocations: 55.61 MB / 0.5443 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01715/0.09917, allocations: 14.41 MB / 0.5583 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1095, allocations: 5.283 MB / 0.5635 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.1121, allocations: 123.3 kB / 0.5636 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1947/0.3068, allocations: 1.206 MB / 0.5648 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.3115, allocations: 1.552 MB / 0.5663 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.3137, allocations: 1.005 MB / 0.5673 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.3185, allocations: 4.646 MB / 0.5718 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.3215, allocations: 1.999 MB / 0.5738 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.3246, allocations: 2.116 MB / 0.5758 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.3288, allocations: 2.482 MB / 0.5783 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001345/0.3301, allocations: 0.5593 MB / 0.5788 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.3324, allocations: 0.7871 MB / 0.5796 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.3337, allocations: 1.243 MB / 0.5808 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.337, allocations: 1.9 MB / 0.5827 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008706/0.3457, allocations: 7.416 MB / 0.5899 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3458, allocations: 0.75 kB / 0.5899 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3458, allocations: 1.219 kB / 0.5899 GB, free: 3.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002252/0.346, allocations: 4 kB / 0.5899 GB, free: 3.824 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.01334/0.3593, allocations: 4.891 MB / 0.5947 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3594, allocations: 13.64 kB / 0.5947 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001611/0.3595, allocations: 107.8 kB / 0.5948 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001038/0.3606, allocations: 0.5546 MB / 0.5953 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/0.366, allocations: 0.9402 MB / 0.5963 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/0.3723, allocations: 2.692 MB / 0.5989 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.3725, allocations: 278.1 kB / 0.5991 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009542/0.3735, allocations: 375.4 kB / 0.5995 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.3835, allocations: 4.826 MB / 0.6042 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.584e-05/0.3836, allocations: 6.219 kB / 0.6042 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004487/0.384, allocations: 162.3 kB / 0.6044 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.3842, allocations: 157.1 kB / 0.6045 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007514/0.3917, allocations: 3.908 MB / 0.6083 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02632/0.418, allocations: 13.64 MB / 0.6217 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/0.4229, allocations: 2.405 MB / 0.624 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.4252, allocations: 1.198 MB / 0.6252 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.4327, allocations: 3.205 MB / 0.6283 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.4327, allocations: 51.44 kB / 0.6284 GB, free: 4.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.547e-06/0.4327, allocations: 0 / 0.6284 GB, free: 4.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=147): time 0.01194/0.4447, allocations: 5.145 MB / 0.6334 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.4447, allocations: 68.72 kB / 0.6335 GB, free: 15.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.4486, allocations: 2.166 MB / 0.6356 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.4488, allocations: 57.7 kB / 0.6356 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.4502, allocations: 1.796 MB / 0.6374 GB, free: 11.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005336/0.4508, allocations: 0.5306 MB / 0.6379 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007135/0.4515, allocations: 420.1 kB / 0.6383 GB, free: 10.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4516, allocations: 305.1 kB / 0.6386 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.453, allocations: 0.7657 MB / 0.6393 GB, free: 9.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.455, allocations: 1.576 MB / 0.6409 GB, free: 7.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/0.4704, allocations: 4.799 MB / 0.6456 GB, free: 2.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.767e-05/0.4704, allocations: 12 kB / 0.6456 GB, free: 2.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006685/0.4771, allocations: 2.806 MB / 0.6483 GB, free: 15.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.4772, allocations: 19.94 kB / 0.6483 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.087e-05/0.4772, allocations: 24 kB / 0.6484 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009004/0.4781, allocations: 280.6 kB / 0.6486 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.4801, allocations: 0.4953 MB / 0.6491 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004375/0.4845, allocations: 3.241 MB / 0.6523 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.4866, allocations: 95.88 kB / 0.6524 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.4869, allocations: 108 kB / 0.6525 GB, free: 11.05 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.002378/0.4893, allocations: 1.08 MB / 0.6535 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/0.4899, allocations: 250.5 kB / 0.6538 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.4936, allocations: 1.777 MB / 0.6555 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4937, allocations: 16 kB / 0.6555 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4937, allocations: 8 kB / 0.6555 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.4937, allocations: 8.484 kB / 0.6555 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.504, allocations: 4.682 MB / 0.6601 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.504, allocations: 4 kB / 0.6601 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.5053, allocations: 259.7 kB / 0.6603 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006624/0.506, allocations: 209 kB / 0.6605 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.5061, allocations: 37.06 kB / 0.6606 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.5101, allocations: 3.111 MB / 0.6636 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5101, allocations: 12.03 kB / 0.6636 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.5149, allocations: 2.701 MB / 0.6663 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.5161, allocations: 390.4 kB / 0.6666 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006299/0.5167, allocations: 36 kB / 0.6667 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.5181, allocations: 64.03 kB / 0.6667 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.5184, allocations: 113 kB / 0.6668 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.5185, allocations: 40 kB / 0.6669 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002873/0.5213, allocations: 1.455 MB / 0.6683 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5213, allocations: 4 kB / 0.6683 GB, free: 10.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002841/0.5242, allocations: 0.6405 MB / 0.6689 GB, free: 9.922 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.005169/0.5294, allocations: 3.31 MB / 0.6722 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.5331, allocations: 1.986 MB / 0.6741 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.5331, allocations: 4.938 kB / 0.6741 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.5348, allocations: 0.9 MB / 0.675 GB, free: 3.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/0.5382, allocations: 0.5773 MB / 0.6756 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04123/0.5795, allocations: 21.9 MB / 0.6969 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/0.5825, allocations: 1.893 MB / 0.6988 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001914/0.5844, allocations: 0.504 MB / 0.6993 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/0.5866, allocations: 1.347 MB / 0.7006 GB, free: 8.371 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5866, allocations: 0 / 0.7006 GB, free: 8.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/0.7004, allocations: 59.06 MB / 0.7583 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.54, allocations: 6.797 kB / 0.7583 GB, free: 13.89 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.07800145901274] Failed to read output from testmodel.py, exit status != 0: 16.735441427095793 16.753053839 16.403973561 Calling exit ...