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.0007744/0.0007744, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0008109/0.0008109, allocations: 174.3 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9408/0.9408, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.02282/0.02282, allocations: 4.472 MB / 264.5 MB, free: 8.762 MB / 250.7 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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.809e-05, allocations: 2.281 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002035/0.002053, allocations: 1.676 MB / 391.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.003591, allocations: 1.575 MB / 392.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.003685, allocations: 4 kB / 392.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.004022, allocations: 139.1 kB / 393 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.004317, allocations: 147 kB / 393.1 MB, free: 3.848 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.00528, allocations: 0.7814 MB / 393.9 MB, free: 3.066 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.005655, allocations: 346.3 kB / 394.3 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.005836, allocations: 79.3 kB / 394.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.005985, allocations: 199.6 kB / 394.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.006176, allocations: 131.6 kB / 394.7 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.006211, allocations: 32 kB / 394.7 MB, free: 2.293 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.006456, allocations: 227.6 kB / 394.9 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.006501, allocations: 67.75 kB / 395 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.006593, allocations: 115.7 kB / 395.1 MB, free: 1.891 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.007039, allocations: 0.5414 MB / 395.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.007041, allocations: 0 / 395.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007042, allocations: 0 / 395.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.007047, allocations: 0 / 395.6 MB, free: 1.348 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.001487/0.008534, allocations: 0.8499 MB / 396.5 MB, free: 468 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.008575, allocations: 11.97 kB / 396.5 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.008624, allocations: 58.72 kB / 396.5 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.008761, allocations: 48.73 kB / 396.6 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.009052, allocations: 241.1 kB / 396.8 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.009072, allocations: 28.8 kB / 396.9 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.00911, allocations: 20.38 kB / 396.9 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.009519, allocations: 400 kB / 397.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.009529, allocations: 192 / 397.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.009554, allocations: 12.36 kB / 397.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.009562, allocations: 8.125 kB / 397.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.009907, allocations: 375.5 kB / 397.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01094, allocations: 0.9037 MB / 398.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.01147, allocations: 361.2 kB / 398.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.01168, allocations: 214.8 kB / 399.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.01229, allocations: 0.6326 MB / 399.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.01264, allocations: 421.5 kB / 400.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.223e-06/0.01264, allocations: 4 kB / 400.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001717/0.01436, allocations: 1.087 MB / 401.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.01443, allocations: 195.8 kB / 401.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01461, allocations: 265.6 kB / 401.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.01464, allocations: 37.7 kB / 401.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.01471, allocations: 156.7 kB / 401.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.01476, allocations: 103.1 kB / 402 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.01485, allocations: 86.12 kB / 402.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.01494, allocations: 338.8 kB / 402.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.01514, allocations: 218.6 kB / 402.6 MB, free: 10 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.01538, allocations: 299.2 kB / 402.9 MB, free: 9.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.01773, allocations: 1.443 MB / 404.4 MB, free: 8.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01773, allocations: 0 / 404.4 MB, free: 8.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001028/0.01876, allocations: 0.8422 MB / 405.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.01879, allocations: 37.64 kB / 405.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.0188, allocations: 8 kB / 405.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006878/0.01949, allocations: 304.6 kB / 405.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01961, allocations: 63.89 kB / 405.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.02204, allocations: 2.787 MB / 408.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.02219, allocations: 47.7 kB / 408.4 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.02222, allocations: 16.11 kB / 408.5 MB, free: 3.926 MB / 330.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.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.0002134/0.02243, allocations: 215.8 kB / 408.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.02247, allocations: 35.81 kB / 408.7 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.02349, allocations: 0.7869 MB / 409.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.0235, allocations: 3.984 kB / 409.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.0235, allocations: 4 kB / 409.5 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.0235, allocations: 3.938 kB / 409.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.02376, allocations: 356.5 kB / 409.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.02376, allocations: 0 / 409.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.02381, allocations: 20 kB / 409.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006348/0.02445, allocations: 312.5 kB / 410.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.02447, allocations: 12 kB / 410.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1608/0.1852, allocations: 2.758 MB / 412.9 MB, free: 32.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1852, allocations: 0 / 412.9 MB, free: 32.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1863, allocations: 0.7807 MB / 413.7 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1864, allocations: 32.06 kB / 413.8 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.1864, allocations: 10.02 kB / 413.8 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1865, allocations: 12.59 kB / 413.8 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.1866, allocations: 30.48 kB / 413.8 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1866, allocations: 11.3 kB / 413.8 MB, free: 32.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1867, allocations: 194.8 kB / 414 MB, free: 32.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1867, allocations: 0 / 414 MB, free: 32.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.1872, allocations: 125.4 kB / 414.1 MB, free: 32.6 MB / 330.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.001186/0.1884, allocations: 1.336 MB / 415.5 MB, free: 31.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009185/0.1893, allocations: 0.7652 MB / 416.2 MB, free: 31.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1893, allocations: 0 / 416.2 MB, free: 31.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.1898, allocations: 0.4985 MB / 416.7 MB, free: 30.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.19, allocations: 27.12 kB / 416.8 MB, free: 30.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.194, allocations: 4.105 MB / 420.9 MB, free: 28.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.1941, allocations: 158.6 kB / 421 MB, free: 28.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.875e-05/0.1942, allocations: 30.55 kB / 421 MB, free: 28.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.1943, allocations: 90.2 kB / 421.1 MB, free: 28.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1943, allocations: 0 / 421.1 MB, free: 28.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.2177, allocations: 10.51 MB / 431.6 MB, free: 24.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.404, allocations: 13.23 kB / 431.7 MB, free: 24.68 MB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.160260068252683] Failed to read output from testmodel.py, exit status != 0: 7.488660985603929 7.499266259 7.490034984 Calling exit ...