Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0008113/0.0008113, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001834, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001131/0.001131, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002516, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9605/0.9605, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09254/1.053, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7499/0.7499, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2613/1.011, allocations: 49.12 MB / 448.4 MB, free: 5.996 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.404e-05, allocations: 5.125 kB / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006895/0.006909, allocations: 7.841 MB / 457.5 MB, free: 12.89 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00623/0.01314, allocations: 6.027 MB / 463.6 MB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.01363, allocations: 81.09 kB / 463.6 MB, free: 6.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.01432, allocations: 397 kB / 464 MB, free: 6.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.01628, allocations: 1.529 MB / 465.6 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.01706, allocations: 0.5546 MB / 466.1 MB, free: 4.359 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.0187, allocations: 2.528 MB / 468.6 MB, free: 1.824 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009528/0.01965, allocations: 1.129 MB / 469.8 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.02108, allocations: 1.715 MB / 471.5 MB, free: 14.93 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008474/0.02193, allocations: 0.9391 MB / 472.4 MB, free: 13.99 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.02206, allocations: 137.9 kB / 472.6 MB, free: 13.86 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.02245, allocations: 295.6 kB / 472.9 MB, free: 13.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.02277, allocations: 0.5337 MB / 473.4 MB, free: 13.04 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.02318, allocations: 0.5028 MB / 473.9 MB, free: 12.53 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.02425, allocations: 1.343 MB / 475.2 MB, free: 11.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.015e-05/0.02427, allocations: 4.594 kB / 475.2 MB, free: 11.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.02427, allocations: 0.5312 kB / 475.2 MB, free: 11.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.0243, allocations: 0 / 475.2 MB, free: 11.18 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001825/0.02613, allocations: 2.214 MB / 477.4 MB, free: 8.938 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.02616, allocations: 8.031 kB / 477.5 MB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/0.02885, allocations: 0.8674 MB / 478.3 MB, free: 8.047 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.02989, allocations: 1.019 MB / 479.3 MB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.02993, allocations: 88.5 kB / 479.4 MB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.03007, allocations: 124.3 kB / 479.6 MB, free: 6.781 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.03151, allocations: 1.548 MB / 481.1 MB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.03153, allocations: 12.83 kB / 481.1 MB, free: 5.027 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.03162, allocations: 44 kB / 481.2 MB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.03176, allocations: 115.3 kB / 481.3 MB, free: 4.871 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.03239, allocations: 0.5154 MB / 481.8 MB, free: 4.352 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.03664, allocations: 5.307 MB / 487.1 MB, free: 14.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.03741, allocations: 416.7 kB / 487.5 MB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.03762, allocations: 163.2 kB / 487.7 MB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.03765, allocations: 8.5 kB / 487.7 MB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.03768, allocations: 43.06 kB / 487.7 MB, free: 14.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 1.723e-06/0.03768, allocations: 0.5 kB / 487.7 MB, free: 14.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=54): time 0.00337/0.04105, allocations: 1.834 MB / 489.5 MB, free: 12.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.04108, allocations: 63.78 kB / 489.6 MB, free: 12.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.04163, allocations: 0.8395 MB / 490.4 MB, free: 11.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.04168, allocations: 37.7 kB / 490.5 MB, free: 11.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.04199, allocations: 0.6033 MB / 491.1 MB, free: 10.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.04212, allocations: 194.3 kB / 491.3 MB, free: 10.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.04233, allocations: 154.3 kB / 491.4 MB, free: 10.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.04244, allocations: 333.9 kB / 491.8 MB, free: 10.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.04263, allocations: 141.9 kB / 491.9 MB, free: 10.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.04296, allocations: 383.5 kB / 492.3 MB, free: 9.629 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.04352, allocations: 0.5606 MB / 492.8 MB, free: 8.988 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.04352, allocations: 4 kB / 492.8 MB, free: 8.984 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001052/0.04457, allocations: 0.8018 MB / 493.6 MB, free: 8.172 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.04459, allocations: 15.94 kB / 493.6 MB, free: 8.156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.0446, allocations: 4.75 kB / 493.6 MB, free: 8.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008057/0.04541, allocations: 348.6 kB / 494 MB, free: 7.809 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.04598, allocations: 215.6 kB / 494.2 MB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.04913, allocations: 5.435 MB / 499.6 MB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.04956, allocations: 48.47 kB / 499.7 MB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.04962, allocations: 30.06 kB / 499.7 MB, free: 1.711 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.04984, allocations: 156.4 kB / 499.9 MB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.04997, allocations: 101.5 kB / 500 MB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.05102, allocations: 0.74 MB / 0.489 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.05102, allocations: 12.61 kB / 0.489 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.05103, allocations: 7.562 kB / 0.489 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.05103, allocations: 0 / 0.489 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.05273, allocations: 1.406 MB / 0.4904 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.05273, allocations: 3.938 kB / 0.4904 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.05318, allocations: 142.1 kB / 0.4905 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.0534, allocations: 203 kB / 0.4907 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/0.05411, allocations: 332.7 kB / 0.491 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.05415, allocations: 19.97 kB / 0.491 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.05715, allocations: 5.447 MB / 0.4964 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.05715, allocations: 4 kB / 0.4964 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.05807, allocations: 0.7867 MB / 0.4971 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.05818, allocations: 12.56 kB / 0.4971 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.05855, allocations: 38.03 kB / 0.4972 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.05862, allocations: 52.3 kB / 0.4972 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.05866, allocations: 27.95 kB / 0.4972 GB, free: 7.773 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.05893, allocations: 416.6 kB / 0.4976 GB, free: 7.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05893, allocations: 0 / 0.4976 GB, free: 7.359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000624/0.05956, allocations: 352.9 kB / 0.498 GB, free: 7.016 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001557/0.05971, allocations: 104.1 kB / 0.4981 GB, free: 6.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.06074, allocations: 1.073 MB / 0.4991 GB, free: 5.781 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-05/0.06076, allocations: 18.31 kB / 0.4991 GB, free: 5.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.06146, allocations: 0.8192 MB / 0.4999 GB, free: 4.895 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.06247, allocations: 0.5804 MB / 0.5005 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/0.06988, allocations: 2.328 MB / 0.5028 GB, free: 1.957 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.07011, allocations: 336.5 kB / 0.5031 GB, free: 1.602 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005903/0.0707, allocations: 276.2 kB / 0.5034 GB, free: 1.344 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/0.07138, allocations: 395 kB / 0.5037 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/0.07138, allocations: 0 / 0.5037 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of Templates: time 0.03008/0.1015, allocations: 27.37 MB / 0.5305 GB, free: 6.273 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.995726556517184]