Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008798/0.0008797, allocations: 178.9 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 94.59 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4754/0.4754, allocations: 78.95 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.451e-05, allocations: 4 kB / 486 MB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 69.51 MB / 0.5424 GB, free: 5.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.5266, allocations: 99.36 MB / 0.6395 GB, free: 14.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.5268, allocations: 81.69 kB / 0.6395 GB, free: 14.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0595/0.5864, allocations: 22.88 MB / 0.6619 GB, free: 7.855 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5864, allocations: 4 kB / 0.6619 GB, free: 7.852 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.172e-05/0.5864, allocations: 20 kB / 0.6619 GB, free: 7.832 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002993/0.5894, allocations: 1.31 MB / 0.6632 GB, free: 6.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.5895, allocations: 13.25 kB / 0.6632 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.5916, allocations: 390.4 kB / 0.6636 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.5926, allocations: 0.6409 MB / 0.6642 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.5928, allocations: 196.3 kB / 0.6644 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.5929, allocations: 36 kB / 0.6644 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009771/0.5939, allocations: 0.5809 MB / 0.665 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.595, allocations: 0.6602 MB / 0.6656 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.595, allocations: 0 / 0.6656 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.5951, allocations: 4 kB / 0.6656 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5951, allocations: 12 kB / 0.6657 GB, free: 3.871 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004965/0.6001, allocations: 3.052 MB / 0.6686 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.6133, allocations: 3.703 MB / 0.6723 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.614, allocations: 395.6 kB / 0.6726 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.6141, allocations: 9.406 kB / 0.6726 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.6141, allocations: 43.12 kB / 0.6727 GB, free: 12.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 2.705e-06/0.6141, allocations: 0 / 0.6727 GB, free: 12.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.005567/0.6197, allocations: 1.949 MB / 0.6746 GB, free: 10.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.6197, allocations: 89.67 kB / 0.6747 GB, free: 10.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/0.6206, allocations: 0.6215 MB / 0.6753 GB, free: 9.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.6207, allocations: 25.7 kB / 0.6753 GB, free: 9.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.621, allocations: 404.3 kB / 0.6757 GB, free: 9.348 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.6212, allocations: 244.4 kB / 0.6759 GB, free: 9.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.6212, allocations: 0.8438 kB / 0.6759 GB, free: 9.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6214, allocations: 334 kB / 0.6762 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.6219, allocations: 341.5 kB / 0.6766 GB, free: 8.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.6225, allocations: 430.7 kB / 0.677 GB, free: 7.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.6231, allocations: 377.3 kB / 0.6773 GB, free: 7.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6231, allocations: 0 / 0.6773 GB, free: 7.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006123/0.6292, allocations: 2.172 MB / 0.6795 GB, free: 5.438 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.6295, allocations: 0.7022 MB / 0.6801 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6295, allocations: 2.438 kB / 0.6801 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/0.6335, allocations: 1.05 MB / 0.6812 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.634, allocations: 111.9 kB / 0.6813 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008438/0.6425, allocations: 4.566 MB / 0.6857 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.6436, allocations: 119.3 kB / 0.6858 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.6436, allocations: 20 kB / 0.6859 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.6436, allocations: 9.203 kB / 0.6859 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006033/0.6497, allocations: 2.054 MB / 0.6879 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6497, allocations: 4 kB / 0.6879 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003914/0.6536, allocations: 1.041 MB / 0.6889 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.6541, allocations: 103.8 kB / 0.689 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008555/0.6627, allocations: 4.586 MB / 0.6935 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.6638, allocations: 95.47 kB / 0.6936 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.6638, allocations: 28 kB / 0.6936 GB, free: 6.625 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003045/0.6642, allocations: 124.7 kB / 0.6937 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.6643, allocations: 92.7 kB / 0.6938 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.6698, allocations: 2.021 MB / 0.6958 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6698, allocations: 8 kB / 0.6958 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6698, allocations: 4 kB / 0.6958 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6698, allocations: 7.938 kB / 0.6958 GB, free: 4.352 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.007126/0.677, allocations: 3.291 MB / 0.699 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.677, allocations: 0 / 0.699 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.6775, allocations: 87.83 kB / 0.6991 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.6803, allocations: 0.8813 MB / 0.7 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-05/0.6804, allocations: 4 kB / 0.7 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006222/0.6867, allocations: 3.562 MB / 0.7034 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6867, allocations: 0 / 0.7034 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/0.6931, allocations: 2.608 MB / 0.706 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.6935, allocations: 183.9 kB / 0.7062 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.6936, allocations: 8 kB / 0.7062 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008971/0.6945, allocations: 75.92 kB / 0.7062 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.6949, allocations: 132.3 kB / 0.7064 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.695, allocations: 16.11 kB / 0.7064 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006664/0.6957, allocations: 494.4 kB / 0.7069 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6957, allocations: 4 kB / 0.7069 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001464/0.6971, allocations: 475.1 kB / 0.7073 GB, free: 8.297 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002826/0.6974, allocations: 143.2 kB / 0.7074 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00688/0.7043, allocations: 2.858 MB / 0.7102 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7044, allocations: 0 / 0.7102 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.7073, allocations: 1.163 MB / 0.7114 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.7082, allocations: 51.31 kB / 0.7114 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.7115, allocations: 1.52 MB / 0.7129 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.7121, allocations: 1.016 MB / 0.7139 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005887/0.7127, allocations: 115.1 kB / 0.714 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.7128, allocations: 43.42 kB / 0.714 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.7128, allocations: 0 / 0.714 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of Templates: time 0.0285/0.7413, allocations: 19.19 MB / 0.7328 GB, free: 14.18 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)