Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001105, allocations: 113.3 kB / 16.42 MB, free: 5.949 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.353/1.353, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.00134/0.00134, allocations: 188.4 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4459/0.4459, allocations: 78.53 MB / 419.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 87.86 kB / 0.5543 GB, free: 1.016 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2788, allocations: 68.16 MB / 0.6208 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.005189/0.284, allocations: 5.925 MB / 0.6266 GB, free: 4.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.2874, allocations: 2.137 MB / 0.6287 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007738/0.2882, allocations: 15.94 kB / 0.6287 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.2889, allocations: 242.1 kB / 0.629 GB, free: 1.961 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001809/0.2908, allocations: 0.799 MB / 0.6297 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2919, allocations: 0.7086 MB / 0.6304 GB, free: 464 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.2936, allocations: 1.831 MB / 0.6322 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.294, allocations: 299.1 kB / 0.6325 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007756/0.2948, allocations: 0.7045 MB / 0.6332 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00088/0.2957, allocations: 0.7859 MB / 0.634 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.2959, allocations: 160 kB / 0.6341 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.2964, allocations: 295.9 kB / 0.6344 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.2967, allocations: 374.7 kB / 0.6348 GB, free: 12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.2973, allocations: 0.6645 MB / 0.6354 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.2991, allocations: 1.949 MB / 0.6373 GB, free: 9.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2992, allocations: 0 / 0.6373 GB, free: 9.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2992, allocations: 0 / 0.6373 GB, free: 9.379 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.2992, allocations: 0 / 0.6373 GB, free: 9.379 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.007028/0.3062, allocations: 2.312 MB / 0.6396 GB, free: 7.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3063, allocations: 8.031 kB / 0.6396 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/0.3099, allocations: 0.5543 MB / 0.6401 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.3117, allocations: 1.015 MB / 0.6411 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.312, allocations: 247.5 kB / 0.6413 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3122, allocations: 75.95 kB / 0.6414 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.314, allocations: 0.9641 MB / 0.6424 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3141, allocations: 0 / 0.6424 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/0.3142, allocations: 24 kB / 0.6424 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3142, allocations: 16 kB / 0.6424 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3162, allocations: 0.9147 MB / 0.6433 GB, free: 3.082 MB / 446.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.006134/0.3223, allocations: 3.62 MB / 0.6468 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/0.3359, allocations: 3.287 MB / 0.65 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3371, allocations: 0.5706 MB / 0.6506 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3372, allocations: 20.64 kB / 0.6506 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3373, allocations: 39.22 kB / 0.6507 GB, free: 11.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 4.429e-06/0.3373, allocations: 0 / 0.6507 GB, free: 11.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01236/0.3497, allocations: 3.64 MB / 0.6542 GB, free: 7.645 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.3497, allocations: 119.3 kB / 0.6543 GB, free: 7.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.3518, allocations: 1.161 MB / 0.6555 GB, free: 6.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3519, allocations: 41.7 kB / 0.6555 GB, free: 6.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.3523, allocations: 477 kB / 0.6559 GB, free: 5.805 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.3525, allocations: 297.5 kB / 0.6562 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.353, allocations: 214.8 kB / 0.6564 GB, free: 5.297 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3531, allocations: 341.9 kB / 0.6568 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.3545, allocations: 0.6619 MB / 0.6574 GB, free: 4.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.356, allocations: 0.7752 MB / 0.6582 GB, free: 3.488 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02091/0.377, allocations: 4.524 MB / 0.6626 GB, free: 14.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.377, allocations: 0 / 0.6626 GB, free: 14.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00868/0.3857, allocations: 2.766 MB / 0.6653 GB, free: 12.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3857, allocations: 10.34 kB / 0.6653 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.3858, allocations: 3.938 kB / 0.6653 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/0.3902, allocations: 1.05 MB / 0.6663 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.3914, allocations: 223.7 kB / 0.6665 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.4024, allocations: 5.064 MB / 0.6715 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.4041, allocations: 175.2 kB / 0.6717 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4042, allocations: 47.92 kB / 0.6717 GB, free: 5.441 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001748/0.406, allocations: 0.847 MB / 0.6725 GB, free: 4.594 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001418/0.4074, allocations: 0.7517 MB / 0.6733 GB, free: 3.816 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02013/0.4276, allocations: 4.438 MB / 0.6776 GB, free: 15.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.207e-06/0.4276, allocations: 4 kB / 0.6776 GB, free: 15.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008138/0.4357, allocations: 2.723 MB / 0.6803 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4358, allocations: 4 kB / 0.6803 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4358, allocations: 7.984 kB / 0.6803 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004242/0.44, allocations: 1.051 MB / 0.6813 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4412, allocations: 215.7 kB / 0.6815 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.452, allocations: 5.07 MB / 0.6864 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.4536, allocations: 159.4 kB / 0.6866 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4537, allocations: 35.98 kB / 0.6866 GB, free: 5.914 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.454, allocations: 232.1 kB / 0.6869 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.4543, allocations: 115.2 kB / 0.687 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/0.4611, allocations: 2.291 MB / 0.6892 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4612, allocations: 3.984 kB / 0.6892 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4612, allocations: 4 kB / 0.6892 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.4615, allocations: 228.1 kB / 0.6894 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.4617, allocations: 16 kB / 0.6894 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4629, allocations: 103.9 kB / 0.6895 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000466/0.4633, allocations: 196.3 kB / 0.6897 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00576/0.4691, allocations: 1.764 MB / 0.6915 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004128/0.4733, allocations: 2.016 MB / 0.6934 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001146/0.4744, allocations: 0.5166 MB / 0.6939 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001634/0.4761, allocations: 0.8153 MB / 0.6947 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of Backend: time 4.81e-07/0.4761, allocations: 0 / 0.6947 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008643/0.4847, allocations: 3.25 MB / 0.6979 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003307/0.4881, allocations: 2.667 MB / 0.7005 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of Templates: time 0.04186/0.5299, allocations: 28.32 MB / 0.7282 GB, free: 11.18 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)