Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") translateModel(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 110.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.1 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 192.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5284/0.5284, allocations: 91.9 MB / 432.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 79.12 kB / 0.5734 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 71.28 MB / 0.643 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB): time 0.01021/0.1226, allocations: 10.56 MB / 0.6533 GB, free: 8.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007066/0.1297, allocations: 4.377 MB / 0.6576 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.131, allocations: 23.94 kB / 0.6576 GB, free: 4.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.1324, allocations: 0.6087 MB / 0.6582 GB, free: 3.906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1352, allocations: 1.299 MB / 0.6595 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.1377, allocations: 1.338 MB / 0.6608 GB, free: 1.273 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003812/0.1416, allocations: 3.584 MB / 0.6643 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.1427, allocations: 0.7375 MB / 0.665 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.1444, allocations: 1.327 MB / 0.6663 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.1464, allocations: 1.552 MB / 0.6678 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007545/0.1472, allocations: 352 kB / 0.6682 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1484, allocations: 0.5233 MB / 0.6687 GB, free: 9.148 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008274/0.1492, allocations: 0.7319 MB / 0.6694 GB, free: 8.414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.1509, allocations: 1.38 MB / 0.6707 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004117/0.1551, allocations: 4.162 MB / 0.6748 GB, free: 2.852 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1551, allocations: 0 / 0.6748 GB, free: 2.852 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1551, allocations: 0 / 0.6748 GB, free: 2.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.8e-05/0.1552, allocations: 0 / 0.6748 GB, free: 2.852 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.01605/0.1712, allocations: 4.376 MB / 0.6791 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1713, allocations: 8.031 kB / 0.6791 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004367/0.1757, allocations: 0.7267 MB / 0.6798 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.1794, allocations: 1.744 MB / 0.6815 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006451/0.18, allocations: 0.5631 MB / 0.682 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/0.1804, allocations: 160 kB / 0.6822 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/0.1851, allocations: 1.991 MB / 0.6841 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.1851, allocations: 3.938 kB / 0.6841 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.1853, allocations: 59.94 kB / 0.6842 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.1854, allocations: 35.94 kB / 0.6842 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004737/0.1901, allocations: 1.916 MB / 0.6861 GB, free: 6.984 MB / 494.1 MB 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.01346/0.2036, allocations: 7.352 MB / 0.6933 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.2147, allocations: 3.729 MB / 0.6969 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.2176, allocations: 1.166 MB / 0.6981 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.2178, allocations: 33.19 kB / 0.6981 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003339/0.2212, allocations: 1.353 MB / 0.6994 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=166): time 4.408e-06/0.2212, allocations: 0 / 0.6994 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166): time 0.04468/0.2659, allocations: 10.06 MB / 0.7092 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.266, allocations: 171.5 kB / 0.7094 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/0.2703, allocations: 2.159 MB / 0.7115 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004519/0.2708, allocations: 61.7 kB / 0.7116 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008223/0.2716, allocations: 0.8732 MB / 0.7124 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009102/0.2725, allocations: 0.5892 MB / 0.713 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.2737, allocations: 424.4 kB / 0.7134 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2739, allocations: 305.1 kB / 0.7137 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/0.277, allocations: 1.28 MB / 0.7149 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/0.2803, allocations: 1.505 MB / 0.7164 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/0.2862, allocations: 2.613 MB / 0.719 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.2862, allocations: 0 / 0.719 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01234/0.2986, allocations: 4.583 MB / 0.7234 GB, free: 12 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.2986, allocations: 8 kB / 0.7235 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.2987, allocations: 7.984 kB / 0.7235 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.3087, allocations: 2.878 MB / 0.7263 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.3109, allocations: 383.5 kB / 0.7266 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008671/0.3196, allocations: 3.305 MB / 0.7299 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/0.3229, allocations: 345.8 kB / 0.7302 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/0.3233, allocations: 79.91 kB / 0.7303 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003964/0.3273, allocations: 1.567 MB / 0.7318 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003205/0.3305, allocations: 1.447 MB / 0.7332 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005789/0.3363, allocations: 2.531 MB / 0.7357 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.211e-06/0.3363, allocations: 0 / 0.7357 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=295) (initialization_lambda0): time 0.01202/0.3483, allocations: 4.423 MB / 0.74 GB, free: 14.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3484, allocations: 5.406 kB / 0.74 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3484, allocations: 4 kB / 0.74 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009514/0.3579, allocations: 2.812 MB / 0.7428 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.36, allocations: 383.5 kB / 0.7431 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/0.3675, allocations: 3.095 MB / 0.7462 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.3706, allocations: 302.3 kB / 0.7464 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.3709, allocations: 71.98 kB / 0.7465 GB, free: 8.148 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,genunit.iEEEG1_1.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 204 * 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 {(30,61)} Notification: Performance of prepare postOptimizeDAE: time 0.0005776/0.3715, allocations: 281 kB / 0.7468 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/0.3721, allocations: 233.1 kB / 0.747 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/0.3897, allocations: 5.144 MB / 0.752 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/0.3898, allocations: 7.969 kB / 0.752 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3898, allocations: 0 / 0.752 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/0.3906, allocations: 381.8 kB / 0.7524 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/0.3911, allocations: 39.98 kB / 0.7524 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/0.3934, allocations: 203.7 kB / 0.7526 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/0.3947, allocations: 0.509 MB / 0.7531 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01165/0.4064, allocations: 3.594 MB / 0.7566 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00851/0.4149, allocations: 3.819 MB / 0.7604 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002461/0.4174, allocations: 1.05 MB / 0.7614 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003071/0.4205, allocations: 1.475 MB / 0.7628 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of Backend: time 8.02e-07/0.4205, allocations: 4 kB / 0.7628 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01578/0.4363, allocations: 4.778 MB / 0.7675 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of SimCode: time 0.2526/0.6889, allocations: 4.837 MB / 0.7722 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06337/0.7523, allocations: 51.15 MB / 0.8222 GB, free: 80.56 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe 2>&1)