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.001811/0.001811, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.491/1.491, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001683/0.001683, allocations: 220.7 kB / 309.2 MB, free: 3.16 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.04403/0.04403, allocations: 8.904 MB / 374.6 MB, free: 1.914 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",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.003601/0.003601, allocations: 82.31 kB / 0.4893 GB, free: 4.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1287, allocations: 55.62 MB / 0.5436 GB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.02983/0.1585, allocations: 16.69 MB / 0.5599 GB, free: 4.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.1738, allocations: 5.602 MB / 0.5654 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.1772, allocations: 119.3 kB / 0.5655 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005157/0.1824, allocations: 1.27 MB / 0.5667 GB, free: 13.34 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.006787/0.1892, allocations: 1.573 MB / 0.5682 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.1926, allocations: 1.057 MB / 0.5693 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006641/0.1992, allocations: 4.642 MB / 0.5738 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/0.2029, allocations: 1.999 MB / 0.5758 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.2065, allocations: 2.114 MB / 0.5778 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00462/0.2112, allocations: 2.487 MB / 0.5803 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.2126, allocations: 0.5586 MB / 0.5808 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.2149, allocations: 0.7966 MB / 0.5816 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.2164, allocations: 1.246 MB / 0.5828 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004226/0.2206, allocations: 2.388 MB / 0.5851 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009521/0.2302, allocations: 7.377 MB / 0.5923 GB, free: 2.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2302, allocations: 4 kB / 0.5923 GB, free: 2.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2302, allocations: 0 / 0.5923 GB, free: 2.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002008/0.2304, allocations: 3.938 kB / 0.5923 GB, free: 2.953 MB / 398.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.01415/0.2445, allocations: 4.882 MB / 0.5971 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2446, allocations: 8.031 kB / 0.5971 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001118/0.2457, allocations: 0.5568 MB / 0.5977 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.2509, allocations: 0.9429 MB / 0.5986 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006232/0.2571, allocations: 2.694 MB / 0.6012 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.2574, allocations: 275.8 kB / 0.6015 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008281/0.2582, allocations: 375.9 kB / 0.6018 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009991/0.2682, allocations: 4.688 MB / 0.6064 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.2683, allocations: 15.89 kB / 0.6064 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004529/0.2688, allocations: 144 kB / 0.6066 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.2689, allocations: 155.3 kB / 0.6067 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008336/0.2773, allocations: 3.901 MB / 0.6105 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.3031, allocations: 15.1 MB / 0.6253 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004918/0.308, allocations: 2.54 MB / 0.6277 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/0.3106, allocations: 1.362 MB / 0.6291 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007125/0.3178, allocations: 3.674 MB / 0.6327 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.3178, allocations: 51.56 kB / 0.6327 GB, free: 9.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=125): time 5.46e-06/0.3178, allocations: 3.984 kB / 0.6327 GB, free: 9.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.01339/0.3312, allocations: 5.954 MB / 0.6385 GB, free: 3.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.3313, allocations: 72.72 kB / 0.6386 GB, free: 2.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.3344, allocations: 2.09 MB / 0.6406 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3345, allocations: 53.7 kB / 0.6407 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.336, allocations: 1.747 MB / 0.6424 GB, free: 15.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.3365, allocations: 0.5656 MB / 0.643 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006209/0.3372, allocations: 408.1 kB / 0.6433 GB, free: 14.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3373, allocations: 301.1 kB / 0.6436 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3387, allocations: 0.7852 MB / 0.6444 GB, free: 12.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.3406, allocations: 1.544 MB / 0.6459 GB, free: 11.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/0.3561, allocations: 4.844 MB / 0.6506 GB, free: 5.863 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.3562, allocations: 4 kB / 0.6506 GB, free: 5.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005346/0.3615, allocations: 2.877 MB / 0.6534 GB, free: 2.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.3615, allocations: 18.97 kB / 0.6535 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.3616, allocations: 24 kB / 0.6535 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009655/0.3625, allocations: 357.2 kB / 0.6538 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.3643, allocations: 491.2 kB / 0.6543 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2142/0.5785, allocations: 3.98 MB / 0.6582 GB, free: 95.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5803, allocations: 89.36 kB / 0.6583 GB, free: 95.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.5805, allocations: 103 kB / 0.6584 GB, free: 95.95 MB / 462.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 (256): * Single equations (assignments): 254 * 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.001753/0.5823, allocations: 1.1 MB / 0.6594 GB, free: 95.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/0.5827, allocations: 236.7 kB / 0.6597 GB, free: 95.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.5861, allocations: 1.969 MB / 0.6616 GB, free: 95.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.5861, allocations: 18.91 kB / 0.6616 GB, free: 95.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5861, allocations: 4.156 kB / 0.6616 GB, free: 95.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.5861, allocations: 10.83 kB / 0.6616 GB, free: 95.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008841/0.595, allocations: 5.425 MB / 0.6669 GB, free: 92.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.595, allocations: 3.062 kB / 0.6669 GB, free: 92.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.5962, allocations: 264.4 kB / 0.6672 GB, free: 92.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007373/0.5969, allocations: 287.1 kB / 0.6675 GB, free: 92.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.597, allocations: 39.27 kB / 0.6675 GB, free: 92.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/0.6009, allocations: 3.741 MB / 0.6711 GB, free: 90.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6009, allocations: 7.344 kB / 0.6711 GB, free: 90.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.6051, allocations: 2.932 MB / 0.674 GB, free: 88.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000965/0.606, allocations: 405.4 kB / 0.6744 GB, free: 88.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.6063, allocations: 37.69 kB / 0.6744 GB, free: 88.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.6073, allocations: 67.25 kB / 0.6745 GB, free: 88.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.6075, allocations: 112.5 kB / 0.6746 GB, free: 88.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.6076, allocations: 47.31 kB / 0.6747 GB, free: 88.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001753/0.6094, allocations: 1.403 MB / 0.676 GB, free: 88.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6094, allocations: 3.938 kB / 0.676 GB, free: 88.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001974/0.6113, allocations: 0.6489 MB / 0.6767 GB, free: 87.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 (132): * Single equations (assignments): 131 * 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.004066/0.6154, allocations: 3.552 MB / 0.6801 GB, free: 86.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.6185, allocations: 2.124 MB / 0.6822 GB, free: 85.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6185, allocations: 3.656 kB / 0.6822 GB, free: 85.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.62, allocations: 1.023 MB / 0.6832 GB, free: 84.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.6223, allocations: 0.5852 MB / 0.6838 GB, free: 84.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/0.6505, allocations: 22.18 MB / 0.7054 GB, free: 63.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.6521, allocations: 2.439 MB / 0.7078 GB, free: 60.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001398/0.6535, allocations: 0.492 MB / 0.7083 GB, free: 60.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.6548, allocations: 1.339 MB / 0.7096 GB, free: 58.98 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6548, allocations: 0 / 0.7096 GB, free: 58.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09671/0.7515, allocations: 58.96 MB / 0.7672 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.58, allocations: 5.906 kB / 0.7672 GB, free: 0.5352 MB / 462.1 MB " [Timeout remaining time 642] (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.928363119019195] Failed to read output from testmodel.py, exit status != 0: 17.72468482889235 17.739545753 17.505969978 Calling exit ...