Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.003448/0.003448, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0001919/0.0001919, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.04977/0.04977, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0002308/0.0002308, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/KundurSMIB/SMIB_Partial.mo:10:8-10:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/KundurSMIB/SMIB_Partial.mo:39:52-39:62:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/KundurSMIB/Generation_Groups/Generator_AVR_PSS.mo:25:8-25:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/KundurSMIB/Generation_Groups/Generator_AVR.mo:25:8-25:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/KundurSMIB/Generation_Groups/Generator.mo:24:8-24:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_2/Network.mo:13:88-13:98:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_2/Generator/Generator.mo:5:8-5:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_1Mod/Network.mo:14:88-14:98:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_1Mod/Generator/Generator.mo:4:94-4:104:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_1/Network3.mo:16:12-16:22:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_1/Network2.mo:14:88-14:98:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_1/Network1.mo:17:12-17:22:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/DAEMode/SMIB_Examples/Example_1/Generator/Generator.mo:5:8-5:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_2/Generator/Generator.mo:28:8-28:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_2/Generator/Step_2.mo:28:8-28:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_2/Generator/Step_1.mo:28:8-28:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_2/Example_2.mo:18:8-18:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Network/Step_5.mo:16:8-16:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Network/Step_4.mo:12:8-12:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Network/Step_3.mo:12:8-12:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Network/Step_2.mo:12:8-12:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Generator/Generator.mo:27:8-27:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Generator/Step_3.mo:20:8-20:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Generator/Step_2.mo:30:8-30:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Generator/Step_1.mo:20:8-20:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Examples/Tutorial/Example_1/Example_1.mo:22:8-22:18:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 2220000000 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.03072/0.03072, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: simulate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=100000,outputFormat="empty",variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=100000,outputFormat="empty",variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.4e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.006682/0.006696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003564/0.01026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.01055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.01098, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeBindings: time 0.001609/0.01259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.01344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0008873/0.01433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.01458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008683/0.01545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005601/0.01601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000122/0.01613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.01652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.01675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.01708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001051/0.01813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001216/0.01825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.352e-06/0.01825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.935e-06/0.01826, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003125/0.02138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001015/0.02148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.02302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.02373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.02387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.02398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.02471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.02473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.0248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.02481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.02518, allocations: 0 / 0, free: 0 / 0 Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.02789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.03323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.03342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.03346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.03349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=64): time 5.981e-06/0.0335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=64): time 0.00524/0.03874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.03887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.03932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.065e-05/0.0394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.03955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.03972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.03998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.495e-05/0.04, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.04033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.0407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.04146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.04147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=120) (initialization): time 0.003098/0.04456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.04459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineHomotopy (initialization): time 5.478e-05/0.04464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.04465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.0474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.0479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt generateHomotopyComponents (initialization): time 4.456e-05/0.04794, allocations: 0 / 0, free: 0 / 0 Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0 = 0.0 Error: Too few equations, under-determined system. The model has 24 equation(s) and 25 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/BaseClasses/baseMachine.mo:34:3-40:38:writable] Warning: Variable $START.G1.machine.delta.$pDERNLSJac0.dummyVarNLSJac0 does not have any remaining equation to be solved in. The original equations were: Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function optimizeJacobianMatrix failed [BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,39)} Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.1373581639491022]