Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad.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.Tutorial.Example_4.Experiments.SMIBVarLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad") translateModel(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 104.9 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5323/0.5323, allocations: 78.91 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.536e-05, allocations: 7.938 kB / 492.8 MB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3837, allocations: 69.5 MB / 0.5491 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.5301, allocations: 123.9 MB / 0.6702 GB, free: 7.602 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5304, allocations: 87.95 kB / 0.6702 GB, free: 7.516 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5404/1.071, allocations: 89.64 MB / 0.7578 GB, free: 52.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.071, allocations: 0 / 0.7578 GB, free: 52.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005444/1.071, allocations: 75.81 kB / 0.7579 GB, free: 51.99 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.01139/1.083, allocations: 3.402 MB / 0.7612 GB, free: 48.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.083, allocations: 12.03 kB / 0.7612 GB, free: 48.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/1.088, allocations: 0.8425 MB / 0.762 GB, free: 47.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007683/1.096, allocations: 2.615 MB / 0.7646 GB, free: 44.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009099/1.097, allocations: 0.8521 MB / 0.7654 GB, free: 43.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/1.098, allocations: 195.8 kB / 0.7656 GB, free: 43.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008256/1.107, allocations: 2.422 MB / 0.768 GB, free: 41.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-05/1.107, allocations: 0 / 0.768 GB, free: 41.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007414/1.108, allocations: 72 kB / 0.768 GB, free: 41.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.445e-05/1.108, allocations: 40 kB / 0.7681 GB, free: 41.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/1.113, allocations: 2.524 MB / 0.7705 GB, free: 38.7 MB / 490.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.02679/1.14, allocations: 10.25 MB / 0.7805 GB, free: 28.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/1.153, allocations: 5.303 MB / 0.7857 GB, free: 22.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/1.156, allocations: 1.351 MB / 0.787 GB, free: 21.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/1.156, allocations: 37.95 kB / 0.7871 GB, free: 21.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003985/1.16, allocations: 1.625 MB / 0.7887 GB, free: 19.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=217): time 6.703e-06/1.16, allocations: 0 / 0.7887 GB, free: 19.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=217): time 0.01812/1.178, allocations: 6.045 MB / 0.7946 GB, free: 13.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/1.178, allocations: 201.9 kB / 0.7947 GB, free: 13.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007654/1.186, allocations: 2.846 MB / 0.7975 GB, free: 10.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008904/1.187, allocations: 65.7 kB / 0.7976 GB, free: 10.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.188, allocations: 1.238 MB / 0.7988 GB, free: 9.277 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.19, allocations: 0.77 MB / 0.7996 GB, free: 8.496 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005923/1.19, allocations: 44 kB / 0.7996 GB, free: 8.453 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/1.191, allocations: 398.4 kB / 0.8 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/1.193, allocations: 1.238 MB / 0.8012 GB, free: 6.816 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/1.196, allocations: 1.455 MB / 0.8026 GB, free: 5.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/1.198, allocations: 1.371 MB / 0.8039 GB, free: 3.895 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/1.198, allocations: 0 / 0.8039 GB, free: 3.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=286) (initialization): time 0.008203/1.207, allocations: 3.702 MB / 0.8076 GB, free: 144 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005258/1.207, allocations: 1.183 MB / 0.8087 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.207, allocations: 4 kB / 0.8087 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008555/1.216, allocations: 2.482 MB / 0.8111 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007488/1.223, allocations: 1.252 MB / 0.8124 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/1.234, allocations: 9.521 MB / 0.8217 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005667/1.24, allocations: 0.6109 MB / 0.8223 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008002/1.241, allocations: 79.97 kB / 0.8223 GB, free: 280 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.241, allocations: 8 kB / 0.8223 GB, free: 272 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008977/1.25, allocations: 3.361 MB / 0.8256 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.25, allocations: 3.984 kB / 0.8256 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008705/1.259, allocations: 2.486 MB / 0.8281 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006273/1.265, allocations: 0.8466 MB / 0.8289 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009242/1.274, allocations: 7.548 MB / 0.8363 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005678/1.28, allocations: 0.5797 MB / 0.8368 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008233/1.281, allocations: 75.98 kB / 0.8369 GB, free: 0.7617 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: genunit.eSST1A1.V_REF:VARIABLE(fixed = false protected = true ) type: Real genunit.pSS2A.rampTrackingFilter.TF2[1].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1,1] genunit.pSS2A.rampTrackingFilter.TF1[5].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] genunit.pSS2A.rampTrackingFilter.TF1[4].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] genunit.pSS2A.rampTrackingFilter.TF1[3].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] genunit.pSS2A.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,genunit.iEEEG1_1.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 28} Notification: Performance of prepare postOptimizeDAE: time 0.001482/1.282, allocations: 245 kB / 0.8371 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/1.284, allocations: 316.1 kB / 0.8374 GB, free: 212 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01971/1.304, allocations: 6.273 MB / 0.8436 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.304, allocations: 27.94 kB / 0.8436 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.304, allocations: 3.953 kB / 0.8436 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.78e-05/1.304, allocations: 11.95 kB / 0.8436 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03102/1.335, allocations: 10.61 MB / 0.854 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/1.335, allocations: 0 / 0.854 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/1.338, allocations: 367.5 kB / 0.8543 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006507/1.345, allocations: 1.921 MB / 0.8562 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009201/1.346, allocations: 67.97 kB / 0.8562 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/1.367, allocations: 9.86 MB / 0.8659 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.367, allocations: 0 / 0.8659 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02421/1.391, allocations: 8.158 MB / 0.8738 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/1.393, allocations: 0.5434 MB / 0.8744 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/1.395, allocations: 63.98 kB / 0.8744 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005659/1.401, allocations: 495.4 kB / 0.8749 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001972/1.403, allocations: 321.5 kB / 0.8752 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007465/1.403, allocations: 59.94 kB / 0.8753 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006594/1.41, allocations: 2.183 MB / 0.8774 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/1.41, allocations: 0 / 0.8774 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008518/1.419, allocations: 1.217 MB / 0.8786 GB, free: 5.527 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 34 (infiniteBus.gENCLS.delta,infiniteBus.gENCLS.omega,infiniteBus.gENCLS.eq,genunit.gENROE.w,genunit.gENROE.delta,genunit.gENROE.Epd,genunit.gENROE.Epq,genunit.gENROE.PSIkd,genunit.gENROE.PSIkq,genunit.iEEEG1_1.imLeadLag.TF.x_scaled[1],genunit.iEEEG1_1.imSimpleLag.state,genunit.iEEEG1_1.imSimpleLag1.state,genunit.iEEEG1_1.imSimpleLag2.state,genunit.iEEEG1_1.imSimpleLag3.state,genunit.iEEEG1_1.limIntegrator.y,genunit.eSST1A1.imDerivativeLag.x,genunit.eSST1A1.imLeadLag.TF.x_scaled[1],genunit.eSST1A1.imLeadLag1.TF.x_scaled[1],genunit.eSST1A1.simpleLagLim.state,genunit.eSST1A1.TransducerDelay.state,genunit.pSS2A.Leadlag1.TF.x_scaled[1],genunit.pSS2A.Leadlag2.TF.x_scaled[1],genunit.pSS2A.SimpleLag1.state,genunit.pSS2A.SimpleLag2.state,genunit.pSS2A.rampTrackingFilter.TF1[1].x_scaled[1],genunit.pSS2A.rampTrackingFilter.TF1[2].x_scaled[1],genunit.pSS2A.rampTrackingFilter.TF1[3].x_scaled[1],genunit.pSS2A.rampTrackingFilter.TF1[4].x_scaled[1],genunit.pSS2A.rampTrackingFilter.TF1[5].x_scaled[1],genunit.pSS2A.rampTrackingFilter.TF2[1].x_scaled[1],genunit.pSS2A.derivativeLag.TF.x_scaled[1],genunit.pSS2A.derivativeLag1.TF.x_scaled[1],genunit.pSS2A.derivativeLag2.TF.x_scaled[1],genunit.pSS2A.derivativeLag3.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/1.42, allocations: 296.4 kB / 0.8789 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02362/1.444, allocations: 6.946 MB / 0.8857 GB, free: 14.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.444, allocations: 64 / 0.8857 GB, free: 14.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007949/1.452, allocations: 2.615 MB / 0.8882 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/1.455, allocations: 349.1 kB / 0.8885 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.47, allocations: 5.504 MB / 0.8939 GB, free: 5.754 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.473, allocations: 2.012 MB / 0.8959 GB, free: 3.707 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005847/1.479, allocations: 0.8813 MB / 0.8967 GB, free: 2.82 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.48, allocations: 135.4 kB / 0.8969 GB, free: 2.691 MB / 0.573 GB Notification: Performance of SimCode: time 1.112e-06/1.48, allocations: 0 / 0.8969 GB, free: 2.691 MB / 0.573 GB Notification: Performance of Templates: time 0.4488/1.928, allocations: 55.38 MB / 0.951 GB, free: 148.8 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad.pipe 2>&1)