Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 73.25 kB / 19.98 MB, free: 1.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 170.7 kB / 23.26 MB, free: 4.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.1 MB / 203.6 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0406/0.0406, allocations: 4.492 MB / 264.5 MB, free: 12.2 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.271e-05, allocations: 2.281 kB / 390.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002978/0.003011, allocations: 1.66 MB / 391.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.005328, allocations: 1.579 MB / 393.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.005439, allocations: 8 kB / 393.3 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.005841, allocations: 135.1 kB / 393.5 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.006206, allocations: 155 kB / 393.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.007822, allocations: 0.7736 MB / 394.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.008293, allocations: 350.3 kB / 394.7 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.008503, allocations: 75.36 kB / 394.8 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.008732, allocations: 199.6 kB / 395 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.008993, allocations: 135.6 kB / 395.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.009047, allocations: 32 kB / 395.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.009432, allocations: 231.5 kB / 395.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.009506, allocations: 71.69 kB / 395.5 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.009656, allocations: 107.8 kB / 395.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.01037, allocations: 0.5337 MB / 396.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01037, allocations: 0 / 396.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01037, allocations: 0 / 396.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.01038, allocations: 0 / 396.1 MB, free: 6.609 MB / 318.1 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.002935/0.01332, allocations: 0.8498 MB / 397 MB, free: 5.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.01336, allocations: 12.03 kB / 397 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.01361, allocations: 56.62 kB / 397 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.01399, allocations: 245 kB / 397.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.01401, allocations: 28.88 kB / 397.3 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.01406, allocations: 24.38 kB / 397.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.01468, allocations: 400 kB / 397.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.01469, allocations: 192 / 397.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.01473, allocations: 8.375 kB / 397.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.01474, allocations: 4.375 kB / 397.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.01529, allocations: 375.5 kB / 398.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.01697, allocations: 0.8652 MB / 399 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.01786, allocations: 364.8 kB / 399.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.01818, allocations: 210.8 kB / 399.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.01919, allocations: 0.6287 MB / 400.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005956/0.01979, allocations: 434.1 kB / 400.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.01979, allocations: 0 / 400.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.003554/0.02334, allocations: 1.082 MB / 401.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.02352, allocations: 187.9 kB / 401.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.0239, allocations: 281.5 kB / 402.1 MB, free: 328 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.02395, allocations: 33.7 kB / 402.1 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.02416, allocations: 156.7 kB / 402.3 MB, free: 124 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.02428, allocations: 111 kB / 402.4 MB, free: 12 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.02447, allocations: 86.17 kB / 402.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.02464, allocations: 334.8 kB / 402.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.02498, allocations: 218.6 kB / 403 MB, free: 15.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.02539, allocations: 295.2 kB / 403.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/0.03042, allocations: 1.427 MB / 404.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.03043, allocations: 7.938 kB / 404.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001951/0.03238, allocations: 0.8499 MB / 405.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.03243, allocations: 40.34 kB / 405.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.03244, allocations: 0 / 405.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.03385, allocations: 316.4 kB / 406 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.0341, allocations: 59.91 kB / 406 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/0.03834, allocations: 2.768 MB / 408.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.03866, allocations: 39.77 kB / 408.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.0387, allocations: 16 kB / 408.8 MB, free: 9.336 MB / 334.1 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.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) \"Imaginary 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,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * 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.0003269/0.03903, allocations: 226 kB / 409.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.03909, allocations: 31.81 kB / 409.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.041, allocations: 0.7829 MB / 409.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.041, allocations: 4 kB / 409.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.041, allocations: 0 / 409.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.04101, allocations: 0 / 409.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.04144, allocations: 317 kB / 410.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.04144, allocations: 0 / 410.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.04154, allocations: 23.98 kB / 410.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.04286, allocations: 308.8 kB / 410.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.04289, allocations: 16 kB / 410.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.04705, allocations: 2.737 MB / 413.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.04705, allocations: 3.938 kB / 413.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.0488, allocations: 0.7747 MB / 414 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.04886, allocations: 43.67 kB / 414.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.04892, allocations: 11.94 kB / 414.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.04914, allocations: 12 kB / 414.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.04924, allocations: 27.94 kB / 414.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.04927, allocations: 12 kB / 414.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.04949, allocations: 193.2 kB / 414.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04949, allocations: 0 / 414.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.04997, allocations: 124 kB / 414.5 MB, free: 3.508 MB / 334.1 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.0002542/0.05023, allocations: 123.2 kB / 414.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.05171, allocations: 0.7626 MB / 415.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.05172, allocations: 0 / 415.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.05265, allocations: 0.5039 MB / 415.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.0529, allocations: 20.5 kB / 415.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.05406, allocations: 0.6261 MB / 416.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.05422, allocations: 160 kB / 416.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.05433, allocations: 38.44 kB / 416.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.0544, allocations: 24.5 kB / 416.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.0544, allocations: 4 kB / 416.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of Templates: time 0.0129/0.0673, allocations: 6.778 MB / 423.5 MB, free: 10.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.725796323269606] Failed to read output from testmodel.py, exit status != 0: 0.07656588032841682 0.091518266 0.07796625700000001 Calling exit ...