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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 103 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 244.8 MB, free: 14.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 195.4 kB / 299.8 MB, free: 9.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04129/0.04129, allocations: 8.926 MB / 363.6 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 84.81 kB / 486.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09688, allocations: 54.41 MB / 0.5279 GB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01888/0.1158, allocations: 15.99 MB / 0.5435 GB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.126, allocations: 5.321 MB / 0.5487 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.1285, allocations: 95.69 kB / 0.5488 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.1321, allocations: 1.255 MB / 0.55 GB, free: 10.37 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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.004961/0.137, allocations: 1.579 MB / 0.5515 GB, free: 8.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.1396, allocations: 0.9761 MB / 0.5525 GB, free: 7.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006134/0.1457, allocations: 4.6 MB / 0.557 GB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003411/0.1491, allocations: 2.436 MB / 0.5594 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.1522, allocations: 2.06 MB / 0.5614 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.156, allocations: 2.362 MB / 0.5637 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.1572, allocations: 0.5586 MB / 0.5642 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.1591, allocations: 0.7654 MB / 0.565 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.1605, allocations: 1.262 MB / 0.5662 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003493/0.164, allocations: 2.373 MB / 0.5685 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008819/0.1728, allocations: 7.338 MB / 0.5757 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1728, allocations: 0 / 0.5757 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1728, allocations: 0 / 0.5757 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.173, allocations: 0 / 0.5757 GB, free: 15.91 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.01258/0.1855, allocations: 4.926 MB / 0.5805 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1856, allocations: 8.031 kB / 0.5805 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009276/0.1865, allocations: 0.5529 MB / 0.581 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.1915, allocations: 0.9585 MB / 0.582 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/0.1976, allocations: 2.754 MB / 0.5847 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.1978, allocations: 283.8 kB / 0.5849 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.1984, allocations: 367.9 kB / 0.5853 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008116/0.2065, allocations: 4.68 MB / 0.5899 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.943e-05/0.2066, allocations: 11.89 kB / 0.5899 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003266/0.2069, allocations: 152 kB / 0.59 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.2071, allocations: 151.3 kB / 0.5902 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/0.2139, allocations: 3.898 MB / 0.594 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/0.2379, allocations: 15.35 MB / 0.609 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006454/0.2444, allocations: 5.994 MB / 0.6148 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.2472, allocations: 1.339 MB / 0.6161 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00792/0.2551, allocations: 4.231 MB / 0.6203 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.2551, allocations: 47.56 kB / 0.6203 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=125): time 2.986e-06/0.2551, allocations: 0 / 0.6203 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.01304/0.2682, allocations: 6.153 MB / 0.6263 GB, free: 10.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.2682, allocations: 68.72 kB / 0.6264 GB, free: 10.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.2712, allocations: 2.069 MB / 0.6284 GB, free: 8.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.2713, allocations: 53.7 kB / 0.6284 GB, free: 8.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.2727, allocations: 1.743 MB / 0.6301 GB, free: 6.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.2732, allocations: 0.5578 MB / 0.6307 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006005/0.2738, allocations: 412 kB / 0.6311 GB, free: 5.371 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2739, allocations: 305.1 kB / 0.6314 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.2752, allocations: 0.7813 MB / 0.6321 GB, free: 4.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.2772, allocations: 1.544 MB / 0.6336 GB, free: 2.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.2906, allocations: 4.794 MB / 0.6383 GB, free: 13.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.2906, allocations: 11.94 kB / 0.6383 GB, free: 13.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005335/0.2959, allocations: 2.869 MB / 0.6411 GB, free: 10.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.296, allocations: 12 kB / 0.6412 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/0.296, allocations: 28 kB / 0.6412 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009123/0.2969, allocations: 352.8 kB / 0.6415 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.2986, allocations: 495.2 kB / 0.642 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005555/0.3041, allocations: 4.101 MB / 0.646 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.3059, allocations: 95.86 kB / 0.6461 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.3061, allocations: 108 kB / 0.6462 GB, free: 5.031 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.002108/0.3082, allocations: 1.083 MB / 0.6472 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/0.3086, allocations: 246.5 kB / 0.6475 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.3121, allocations: 1.958 MB / 0.6494 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.3122, allocations: 19.94 kB / 0.6494 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3122, allocations: 4 kB / 0.6494 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.3122, allocations: 15.91 kB / 0.6494 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2045/0.5167, allocations: 5.422 MB / 0.6547 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.5167, allocations: 2.312 kB / 0.6547 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.5179, allocations: 264.3 kB / 0.655 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.5186, allocations: 282.4 kB / 0.6552 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.984e-05/0.5187, allocations: 39.3 kB / 0.6553 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.5227, allocations: 3.834 MB / 0.659 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5227, allocations: 9.344 kB / 0.659 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/0.5266, allocations: 2.934 MB / 0.6619 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/0.5276, allocations: 478.3 kB / 0.6624 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.5279, allocations: 37.12 kB / 0.6624 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/0.5288, allocations: 60.17 kB / 0.6625 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.529, allocations: 110.3 kB / 0.6626 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.5291, allocations: 46.48 kB / 0.6626 GB, free: 102.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.5307, allocations: 1.389 MB / 0.664 GB, free: 101.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5307, allocations: 0 / 0.664 GB, free: 101.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001794/0.5325, allocations: 0.6423 MB / 0.6646 GB, free: 101.7 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.003795/0.5363, allocations: 3.532 MB / 0.668 GB, free: 99.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002899/0.5392, allocations: 2.192 MB / 0.6702 GB, free: 98.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5392, allocations: 3.875 kB / 0.6702 GB, free: 98.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.5406, allocations: 1.015 MB / 0.6712 GB, free: 98.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.5426, allocations: 0.586 MB / 0.6717 GB, free: 98.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.5681, allocations: 22.13 MB / 0.6934 GB, free: 78.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.5696, allocations: 2.432 MB / 0.6957 GB, free: 75.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001441/0.5711, allocations: 0.4988 MB / 0.6962 GB, free: 75.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.5723, allocations: 1.319 MB / 0.6975 GB, free: 73.74 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5723, allocations: 0 / 0.6975 GB, free: 73.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1211/0.6934, allocations: 56.92 MB / 0.7531 GB, free: 17.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.3, allocations: 19.16 kB / 0.7531 GB, free: 17.34 MB / 462.1 MB " [Timeout remaining time 644] (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: 18.701404562219977] Failed to read output from testmodel.py, exit status != 0: 15.564193232916296 15.430069144 15.254140692 Calling exit ...