Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 173.5 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.7 MB / 242.6 MB, free: 8.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009207/0.000921, allocations: 101.8 kB / 293.8 MB, free: 9.504 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04733/0.04733, allocations: 8.103 MB / 353 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003887, allocations: 9.75 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09125, allocations: 52.53 MB / 468.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001717/0.09301, allocations: 1.483 MB / 470.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.09547, allocations: 2.384 MB / 472.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.09573, allocations: 4 kB / 472.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.09623, allocations: 127.5 kB / 472.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.09668, allocations: 143.2 kB / 472.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.09878, allocations: 1.853 MB / 474.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.09931, allocations: 326.5 kB / 475 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.09955, allocations: 107.3 kB / 475.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.09976, allocations: 119.5 kB / 475.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.1001, allocations: 159.3 kB / 475.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.1002, allocations: 16 kB / 475.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.1006, allocations: 191.8 kB / 475.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1007, allocations: 67.69 kB / 475.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.1009, allocations: 180.9 kB / 475.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1016, allocations: 494.7 kB / 476.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.1016, allocations: 4 kB / 476.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1016, allocations: 0 / 476.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1017, allocations: 0 / 476.3 MB, free: 11.45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002494/0.1042, allocations: 0.8672 MB / 477.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1042, allocations: 8.031 kB / 477.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.1045, allocations: 48.64 kB / 477.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.1049, allocations: 311.6 kB / 477.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1049, allocations: 24.81 kB / 477.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.105, allocations: 24.38 kB / 477.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.1056, allocations: 327.8 kB / 477.9 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1056, allocations: 4.125 kB / 477.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.1056, allocations: 11.94 kB / 478 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1056, allocations: 8 kB / 478 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.1061, allocations: 321.6 kB / 478.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.1081, allocations: 1.361 MB / 479.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.109, allocations: 0.5162 MB / 480.2 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.1093, allocations: 208.8 kB / 480.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.1105, allocations: 0.8971 MB / 481.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.111, allocations: 360.3 kB / 481.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.111, allocations: 7.938 kB / 481.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.003189/0.1142, allocations: 1.095 MB / 482.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.1144, allocations: 187.9 kB / 482.9 MB, free: 4.449 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.1147, allocations: 268.9 kB / 483.2 MB, free: 4.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.1147, allocations: 29.7 kB / 483.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1149, allocations: 168.4 kB / 483.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.115, allocations: 106.5 kB / 483.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.115, allocations: 4 kB / 483.5 MB, free: 3.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1152, allocations: 338.8 kB / 483.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.1155, allocations: 184.8 kB / 484 MB, free: 3.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.116, allocations: 272.8 kB / 484.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004686/0.1207, allocations: 1.431 MB / 485.7 MB, free: 1.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.1207, allocations: 4 kB / 485.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001947/0.1227, allocations: 0.8196 MB / 486.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.1228, allocations: 37.69 kB / 486.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.1228, allocations: 8 kB / 486.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.1241, allocations: 312.5 kB / 486.8 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.1244, allocations: 59.91 kB / 486.9 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2041/0.3285, allocations: 2.706 MB / 489.6 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.329, allocations: 38.52 kB / 489.6 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.3291, allocations: 16.98 kB / 489.7 MB, free: 25.33 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.fault,$PRE.lnFault.myFault.Y.im,$PRE.lnFault.myFault.Y.re,lnFault.myFault.Y.re,lnFault.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000347/0.3295, allocations: 212.1 kB / 489.9 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.3295, allocations: 32.12 kB / 489.9 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.3314, allocations: 0.7326 MB / 490.6 MB, free: 24.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3314, allocations: 6.984 kB / 490.6 MB, free: 24.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.3315, allocations: 2.344 kB / 490.6 MB, free: 24.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3315, allocations: 2.109 kB / 490.6 MB, free: 24.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.3321, allocations: 482.1 kB / 491.1 MB, free: 24.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3321, allocations: 0.9844 kB / 491.1 MB, free: 24.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3322, allocations: 24.77 kB / 491.1 MB, free: 24.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.3335, allocations: 304.9 kB / 491.4 MB, free: 24.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.3336, allocations: 8.734 kB / 491.4 MB, free: 24.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.3373, allocations: 2.716 MB / 494.2 MB, free: 22.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3374, allocations: 2.016 kB / 494.2 MB, free: 22.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.339, allocations: 0.7343 MB / 494.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.3391, allocations: 108.6 kB / 495 MB, free: 21.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.3392, allocations: 18.23 kB / 495 MB, free: 21.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.3394, allocations: 17.5 kB / 495 MB, free: 21.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3395, allocations: 25.84 kB / 495.1 MB, free: 21.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.3395, allocations: 12.31 kB / 495.1 MB, free: 21.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.3398, allocations: 193.1 kB / 495.3 MB, free: 21.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3398, allocations: 3.844 kB / 495.3 MB, free: 21.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.3404, allocations: 132.8 kB / 495.4 MB, free: 21.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002487/0.3407, allocations: 136.2 kB / 495.5 MB, free: 21.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.3422, allocations: 0.7308 MB / 496.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3422, allocations: 0 / 496.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.3431, allocations: 0.5217 MB / 496.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3433, allocations: 24.22 kB / 496.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3445, allocations: 0.7052 MB / 497.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3449, allocations: 0.7672 MB / 498.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.345, allocations: 38.48 kB / 498.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.3451, allocations: 26.19 kB / 498.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3451, allocations: 3.938 kB / 498.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of Templates: time 0.01434/0.3594, allocations: 5.995 MB / 0.4925 GB, free: 18.46 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1)