Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003965/0.0003965, 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.0005023/0.0005023, allocations: 0 / 0, free: 0 / 0 " [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 0.4208/0.4208, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.38/0.38, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: simulate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium",simflags="-alarm=480 -lv LOG_STATS") simulate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium",simflags="-alarm=480 -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 1.073e-06/1.073e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.495e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.01426/0.01429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01205/0.02633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.02677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.003131/0.0299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00255/0.03245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.03361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001554/0.03517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.03641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.03793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0009607/0.03889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.03904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.0402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.04063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.04126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002543/0.0438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001481/0.04395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.883e-06/0.04395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.378e-05/0.04396, 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.003751/0.04771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.517e-05/0.0478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008565/0.05636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.05847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.05854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.05881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004869/0.06368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.06372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.06392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003508/0.06427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005359/0.06963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.08007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.0835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.08518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.08529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.08534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=22): time 7.906e-05/0.08542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=36): time 0.03182/0.1172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.1173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.1188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003063/0.1191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.1195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.1198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009438/0.1208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002891/0.1211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.1237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.1265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.005523/0.132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=47) (initialization): time 0.01429/0.1463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.1463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.1463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.015/0.1613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.1625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03145/0.1939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.1954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.1957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003386/0.1991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002751/0.2018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005403/0.2072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.718e-06/0.2072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0129/0.2201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.2202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.2308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.2319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02701/0.2589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.2604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.2607, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008773/0.2616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006589/0.2622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.2751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.2751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.2751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.2751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.2907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.2907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.2914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/0.3041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.3044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02805/0.3324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.3325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.3441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.3452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/0.3456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.3468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/0.348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.3482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001265/0.3494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.308e-05/0.3495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003857/0.3533, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006113/0.3539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01564/0.3696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.3696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.006024/0.3756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/0.3784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/0.3848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009894/0.387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.00148/0.3895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00943/0.3989, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] [Calling sys.exit(0), Time elapsed: 2.1845028799998545]