Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001363/0.001363, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 MB " [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.001524/0.001524, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.247/1.247, allocations: 154.8 MB / 414.3 MB, free: 444 kB / 378.7 MB [/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 178] 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: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.794e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03628/0.03631, allocations: 25.04 MB / 0.5443 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.05351, allocations: 8.003 MB / 0.5521 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.05593, allocations: 157.8 kB / 0.5523 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.008043/0.06397, allocations: 2.792 MB / 0.555 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.06888, allocations: 1.709 MB / 0.5567 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.07358, allocations: 1.682 MB / 0.5583 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.008793/0.08237, allocations: 6.262 MB / 0.5644 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0073/0.08967, allocations: 3.764 MB / 0.5681 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008806/0.09848, allocations: 3.704 MB / 0.5717 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006544/0.105, allocations: 2.632 MB / 0.5743 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.1066, allocations: 0.5195 MB / 0.5748 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.1101, allocations: 1.224 MB / 0.576 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.003044/0.1131, allocations: 2.21 MB / 0.5782 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.003379/0.1165, allocations: 1.666 MB / 0.5798 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.1274, allocations: 8.267 MB / 0.5879 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1274, allocations: 0 / 0.5879 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1274, allocations: 5.844 kB / 0.5879 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001954/0.1276, allocations: 0 / 0.5879 GB, free: 12.43 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008997/0.1366, allocations: 4.241 MB / 0.592 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1366, allocations: 8.031 kB / 0.592 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.1421, allocations: 1.315 MB / 0.5933 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005397/0.1475, allocations: 2.727 MB / 0.596 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.1478, allocations: 263.7 kB / 0.5962 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008085/0.1486, allocations: 385.5 kB / 0.5966 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.16, allocations: 6.454 MB / 0.6029 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.1601, allocations: 20.36 kB / 0.6029 GB, free: 12.59 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004666/0.1605, allocations: 156.8 kB / 0.6031 GB, free: 12.44 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000665/0.1612, allocations: 282.9 kB / 0.6033 GB, free: 12.16 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.1715, allocations: 4.523 MB / 0.6077 GB, free: 7.637 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.2038, allocations: 17.57 MB / 0.6249 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.2058, allocations: 1.058 MB / 0.6259 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.2074, allocations: 0.9563 MB / 0.6269 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.058e-05/0.2075, allocations: 21 kB / 0.6269 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.2075, allocations: 43.56 kB / 0.6269 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 2.966e-06/0.2075, allocations: 2.219 kB / 0.6269 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.02519/0.2327, allocations: 9.284 MB / 0.636 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.2328, allocations: 64.72 kB / 0.6361 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.235, allocations: 1.421 MB / 0.6374 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.2352, allocations: 45.7 kB / 0.6375 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.2367, allocations: 1.738 MB / 0.6392 GB, free: 6.902 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.2373, allocations: 487.8 kB / 0.6397 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/0.238, allocations: 335.4 kB / 0.64 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2381, allocations: 305.1 kB / 0.6403 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.2397, allocations: 0.8979 MB / 0.6411 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.242, allocations: 1.536 MB / 0.6426 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/0.2461, allocations: 2.637 MB / 0.6452 GB, free: 148 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.2461, allocations: 8 kB / 0.6452 GB, free: 140 kB / 0.6042 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007243/0.2533, allocations: 3.38 MB / 0.6485 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.2534, allocations: 12 kB / 0.6485 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/0.2534, allocations: 20.88 kB / 0.6486 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.2567, allocations: 0.8544 MB / 0.6494 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.2584, allocations: 391.4 kB / 0.6498 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.2786, allocations: 15.86 MB / 0.6652 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.2803, allocations: 112.2 kB / 0.6654 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.2806, allocations: 84 kB / 0.6654 GB, free: 10.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (199): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002437/0.283, allocations: 1.313 MB / 0.6667 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/0.2836, allocations: 242.8 kB / 0.6669 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005944/0.2895, allocations: 2.761 MB / 0.6696 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.2895, allocations: 12 kB / 0.6697 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.2895, allocations: 8 kB / 0.6697 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.2895, allocations: 8.109 kB / 0.6697 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.3006, allocations: 5.326 MB / 0.6749 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.3006, allocations: 8 kB / 0.6749 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.3018, allocations: 236.3 kB / 0.6751 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2402/0.542, allocations: 0.765 MB / 0.6759 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/0.5423, allocations: 29.75 kB / 0.6759 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.5539, allocations: 15.58 MB / 0.6911 GB, free: 170 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5539, allocations: 10.56 kB / 0.6911 GB, free: 170 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/0.5595, allocations: 4.018 MB / 0.695 GB, free: 168.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.5605, allocations: 376.4 kB / 0.6954 GB, free: 168.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.5607, allocations: 41.72 kB / 0.6954 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/0.5616, allocations: 80.69 kB / 0.6955 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.562, allocations: 116.2 kB / 0.6956 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/0.5621, allocations: 39.19 kB / 0.6956 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001089/0.5632, allocations: 0.9123 MB / 0.6965 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5632, allocations: 0 / 0.6965 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002262/0.5654, allocations: 0.6911 MB / 0.6972 GB, free: 167.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002468/0.5657, allocations: 150.9 kB / 0.6974 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004491/0.5702, allocations: 3.407 MB / 0.7007 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.5702, allocations: 0 / 0.7007 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/0.5729, allocations: 2.238 MB / 0.7029 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.5756, allocations: 0.6373 MB / 0.7035 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009478/0.5851, allocations: 6.608 MB / 0.7099 GB, free: 161.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.5873, allocations: 2.105 MB / 0.712 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001565/0.5889, allocations: 474.3 kB / 0.7125 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.5893, allocations: 115.5 kB / 0.7126 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.402e-06/0.5893, allocations: 4 kB / 0.7126 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.05134/0.6406, allocations: 33.44 MB / 0.7452 GB, free: 146.5 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.352295842953026]