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.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.001329/0.001329, allocations: 101.8 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.383/1.383, allocations: 225.6 MB / 244.8 MB, free: 14.2 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.001507/0.001507, allocations: 186.7 kB / 299.8 MB, free: 9.844 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.0412/0.0412, allocations: 8.934 MB / 363.6 MB, free: 10.19 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_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 83.09 kB / 486.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09982, allocations: 54.41 MB / 0.5279 GB, free: 1.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01976/0.1196, allocations: 16.01 MB / 0.5435 GB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.1296, allocations: 5.302 MB / 0.5487 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.1318, allocations: 99.62 kB / 0.5488 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.1349, allocations: 1.258 MB / 0.55 GB, free: 10.43 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.004537/0.1395, allocations: 1.571 MB / 0.5515 GB, free: 8.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.142, allocations: 0.9878 MB / 0.5525 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006292/0.1483, allocations: 4.6 MB / 0.557 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.152, allocations: 2.428 MB / 0.5594 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.1553, allocations: 2.064 MB / 0.5614 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003909/0.1592, allocations: 2.362 MB / 0.5637 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.1604, allocations: 0.5586 MB / 0.5642 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.1625, allocations: 0.7654 MB / 0.565 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.1639, allocations: 1.254 MB / 0.5662 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003582/0.1675, allocations: 2.373 MB / 0.5685 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009429/0.1769, allocations: 7.346 MB / 0.5757 GB, free: 15.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1769, allocations: 0 / 0.5757 GB, free: 15.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1769, allocations: 0 / 0.5757 GB, free: 15.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001578/0.1771, allocations: 0 / 0.5757 GB, free: 15.97 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.01385/0.1909, allocations: 4.922 MB / 0.5805 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.191, allocations: 8.031 kB / 0.5805 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009774/0.1919, allocations: 0.5568 MB / 0.581 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/0.1971, allocations: 0.9585 MB / 0.582 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005872/0.203, allocations: 2.754 MB / 0.5847 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.2032, allocations: 275.8 kB / 0.5849 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.2037, allocations: 375.9 kB / 0.5853 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007929/0.2117, allocations: 4.671 MB / 0.5899 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.923e-05/0.2118, allocations: 7.953 kB / 0.5899 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.2121, allocations: 148 kB / 0.59 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.2122, allocations: 151.3 kB / 0.5901 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006637/0.2189, allocations: 3.898 MB / 0.594 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02304/0.2419, allocations: 15.21 MB / 0.6088 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005906/0.2478, allocations: 5.813 MB / 0.6145 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.2499, allocations: 1.167 MB / 0.6156 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007347/0.2572, allocations: 4.122 MB / 0.6196 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.2573, allocations: 51.48 kB / 0.6197 GB, free: 1.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 2.916e-06/0.2573, allocations: 0 / 0.6197 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.0111/0.2684, allocations: 5.295 MB / 0.6249 GB, free: 11.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.2684, allocations: 68.66 kB / 0.6249 GB, free: 11.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/0.2717, allocations: 2.157 MB / 0.627 GB, free: 9.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.2718, allocations: 53.7 kB / 0.6271 GB, free: 9.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.2732, allocations: 1.786 MB / 0.6288 GB, free: 7.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/0.2737, allocations: 0.5152 MB / 0.6293 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006338/0.2743, allocations: 416 kB / 0.6297 GB, free: 6.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2744, allocations: 301.1 kB / 0.63 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.2756, allocations: 0.7657 MB / 0.6308 GB, free: 5.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.2775, allocations: 1.545 MB / 0.6323 GB, free: 3.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/0.2906, allocations: 4.73 MB / 0.6369 GB, free: 14.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/0.2906, allocations: 8 kB / 0.6369 GB, free: 14.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005023/0.2956, allocations: 2.783 MB / 0.6396 GB, free: 11.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.2957, allocations: 20.12 kB / 0.6396 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/0.2957, allocations: 24 kB / 0.6397 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000757/0.2965, allocations: 281.5 kB / 0.6399 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.2982, allocations: 495.2 kB / 0.6404 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.3025, allocations: 3.387 MB / 0.6437 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.3043, allocations: 107.9 kB / 0.6438 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.3045, allocations: 96 kB / 0.6439 GB, free: 7.457 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[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 (261): * Single equations (assignments): 259 * 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.001998/0.3065, allocations: 1.086 MB / 0.645 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.3069, allocations: 230.5 kB / 0.6452 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.3101, allocations: 1.762 MB / 0.6469 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.3101, allocations: 16 kB / 0.6469 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3101, allocations: 0 / 0.6469 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.3102, allocations: 7.922 kB / 0.6469 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2445/0.5547, allocations: 4.968 MB / 0.6518 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.5547, allocations: 2.594 kB / 0.6518 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.5561, allocations: 261.6 kB / 0.652 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007434/0.5568, allocations: 214 kB / 0.6522 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.5569, allocations: 35.22 kB / 0.6523 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.5605, allocations: 3.257 MB / 0.6555 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5605, allocations: 2.125 kB / 0.6555 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.5646, allocations: 2.658 MB / 0.658 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.5657, allocations: 471.7 kB / 0.6585 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.566, allocations: 34.27 kB / 0.6585 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/0.5669, allocations: 60.48 kB / 0.6586 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.5671, allocations: 93.77 kB / 0.6587 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.5672, allocations: 43.8 kB / 0.6587 GB, free: 103.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002037/0.5692, allocations: 1.443 MB / 0.6601 GB, free: 103.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5692, allocations: 1.125 kB / 0.6601 GB, free: 103.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001863/0.5711, allocations: 0.6251 MB / 0.6607 GB, free: 103.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,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 (125): * Single equations (assignments): 124 * 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.003603/0.5747, allocations: 3.28 MB / 0.6639 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002787/0.5775, allocations: 2.052 MB / 0.6659 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/0.5775, allocations: 4 kB / 0.666 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.5788, allocations: 0.8941 MB / 0.6668 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.5811, allocations: 0.5747 MB / 0.6674 GB, free: 100 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/0.6099, allocations: 21.78 MB / 0.6887 GB, free: 82.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.6116, allocations: 2.429 MB / 0.691 GB, free: 80.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00166/0.6133, allocations: 0.4957 MB / 0.6915 GB, free: 79.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/0.6146, allocations: 1.327 MB / 0.6928 GB, free: 78.45 MB / 462.1 MB Notification: Performance of SimCode: time 1.844e-06/0.6146, allocations: 0 / 0.6928 GB, free: 78.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09539/0.71, allocations: 55.73 MB / 0.7472 GB, free: 23.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.72, allocations: 11.8 kB / 0.7472 GB, free: 23.23 MB / 462.1 MB " [Timeout remaining time 644] (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: 19.076948183123022] Failed to read output from testmodel.py, exit status != 0: 16.00644864886999 15.853877029 15.674707139 Calling exit ...