Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008968/0.0008968, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009052/0.0009052, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 0.9592/0.9592, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [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.763/0.763, allocations: 154.9 MB / 415.1 MB, free: 276 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 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: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.428e-05, allocations: 4.984 kB / 0.5212 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01258/0.01261, allocations: 16.95 MB / 0.5377 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007963/0.02057, allocations: 5.08 MB / 0.5427 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.02203, allocations: 193.8 kB / 0.5429 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.02327, allocations: 0.7563 MB / 0.5436 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.02523, allocations: 1.651 MB / 0.5452 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.02752, allocations: 1.559 MB / 0.5467 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006331/0.03385, allocations: 7.344 MB / 0.5539 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/0.03884, allocations: 5.086 MB / 0.5589 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004851/0.04369, allocations: 4.56 MB / 0.5633 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.04649, allocations: 3.541 MB / 0.5668 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.04702, allocations: 0.646 MB / 0.5674 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.04813, allocations: 0.7302 MB / 0.5681 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.04959, allocations: 2.767 MB / 0.5708 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.05091, allocations: 2.023 MB / 0.5728 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.05444, allocations: 5.035 MB / 0.5777 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.05444, allocations: 0 / 0.5777 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.583e-06/0.05444, allocations: 0 / 0.5777 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.851e-05/0.05448, allocations: 0 / 0.5777 GB, free: 7.395 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00498/0.05946, allocations: 5.162 MB / 0.5828 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.0595, allocations: 8.031 kB / 0.5828 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.06187, allocations: 1.361 MB / 0.5841 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.06448, allocations: 2.676 MB / 0.5867 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.06465, allocations: 351.1 kB / 0.587 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/0.06508, allocations: 472.2 kB / 0.5875 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/0.06934, allocations: 4.462 MB / 0.5918 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/0.06941, allocations: 24 kB / 0.5919 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.06968, allocations: 201.2 kB / 0.5921 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/0.06989, allocations: 320.9 kB / 0.5924 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.07164, allocations: 1.4 MB / 0.5937 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.08672, allocations: 23.96 MB / 0.6171 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/0.08754, allocations: 0.7025 MB / 0.6178 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/0.08795, allocations: 447.6 kB / 0.6182 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.08801, allocations: 21.31 kB / 0.6183 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.08804, allocations: 52.3 kB / 0.6183 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=133): time 3.586e-06/0.08804, allocations: 0 / 0.6183 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=136): time 0.004747/0.09279, allocations: 3.017 MB / 0.6213 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.09282, allocations: 72.66 kB / 0.6213 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.09366, allocations: 1.31 MB / 0.6226 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.09371, allocations: 45.7 kB / 0.6227 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.09484, allocations: 2.122 MB / 0.6247 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.09511, allocations: 0.5152 MB / 0.6252 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.09541, allocations: 368.8 kB / 0.6256 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.09553, allocations: 480.7 kB / 0.626 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.09579, allocations: 239.8 kB / 0.6263 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.09648, allocations: 1.22 MB / 0.6275 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.09763, allocations: 1.649 MB / 0.6291 GB, free: 500 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.09764, allocations: 8 kB / 0.6291 GB, free: 492 kB / 0.5886 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002468/0.1001, allocations: 1.979 MB / 0.631 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1001, allocations: 12 kB / 0.631 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.1002, allocations: 24 kB / 0.631 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.1014, allocations: 0.6912 MB / 0.6317 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.102, allocations: 311.5 kB / 0.632 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.1127, allocations: 23.37 MB / 0.6548 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.1134, allocations: 56 kB / 0.6549 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.818e-05/0.1135, allocations: 72 kB / 0.655 GB, free: 4.496 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.0009704/0.1144, allocations: 291.8 kB / 0.6552 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.1147, allocations: 242.8 kB / 0.6555 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.1164, allocations: 1.485 MB / 0.6569 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1164, allocations: 16 kB / 0.6569 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1164, allocations: 8 kB / 0.6569 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1164, allocations: 11.97 kB / 0.657 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.1211, allocations: 3.653 MB / 0.6605 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1211, allocations: 4 kB / 0.6605 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.1215, allocations: 148.3 kB / 0.6607 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.1226, allocations: 0.6285 MB / 0.6613 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.1227, allocations: 28 kB / 0.6613 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2444/0.3671, allocations: 22.32 MB / 0.6831 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3671, allocations: 6.469 kB / 0.6831 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.3691, allocations: 1.731 MB / 0.6848 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.3695, allocations: 327.9 kB / 0.6851 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3696, allocations: 31.28 kB / 0.6852 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.3699, allocations: 25.31 kB / 0.6852 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.3702, allocations: 134.4 kB / 0.6853 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.3702, allocations: 32.75 kB / 0.6853 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000408/0.3706, allocations: 0.6996 MB / 0.686 GB, free: 146 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.3706, allocations: 0 / 0.686 GB, free: 146 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001843/0.3724, allocations: 0.7886 MB / 0.6868 GB, free: 146 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001652/0.3726, allocations: 144.2 kB / 0.6869 GB, free: 145.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.3746, allocations: 3.399 MB / 0.6902 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3746, allocations: 0 / 0.6902 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.3759, allocations: 2.79 MB / 0.693 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.3773, allocations: 0.7156 MB / 0.6937 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.3842, allocations: 6.554 MB / 0.7001 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/0.385, allocations: 1.14 MB / 0.7012 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005339/0.3856, allocations: 236.9 kB / 0.7014 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007274/0.3863, allocations: 0.5676 MB / 0.702 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.3863, allocations: 0.9375 kB / 0.702 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.04803/0.4343, allocations: 38.92 MB / 0.74 GB, free: 130.6 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.473909713793546]