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.001275/0.001275, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001496/0.001496, allocations: 215.4 kB / 23.82 MB, free: 4.48 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.448/1.448, allocations: 230.6 MB / 257.6 MB, free: 7.801 MB / 206.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.03566/0.03566, allocations: 6.138 MB / 320.1 MB, free: 12.76 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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 47.94 kB / 445.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.137, allocations: 55.01 MB / 0.4885 GB, free: 14.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.00301/0.14, allocations: 1.666 MB / 0.4901 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1424, allocations: 1.575 MB / 0.4917 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1425, allocations: 4 kB / 0.4917 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.1429, allocations: 135.3 kB / 0.4918 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.1432, allocations: 155.1 kB / 0.4919 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.1447, allocations: 0.7742 MB / 0.4927 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.1452, allocations: 326.6 kB / 0.493 GB, free: 9.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1454, allocations: 87.23 kB / 0.4931 GB, free: 9.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1456, allocations: 143.5 kB / 0.4932 GB, free: 9.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1458, allocations: 175.3 kB / 0.4934 GB, free: 8.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.1459, allocations: 32 kB / 0.4934 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.1463, allocations: 239.7 kB / 0.4936 GB, free: 8.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.1463, allocations: 63.77 kB / 0.4937 GB, free: 8.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1465, allocations: 135.4 kB / 0.4938 GB, free: 8.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000659/0.1471, allocations: 0.5139 MB / 0.4943 GB, free: 7.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1471, allocations: 0 / 0.4943 GB, free: 7.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1471, allocations: 0 / 0.4943 GB, free: 7.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1471, allocations: 0 / 0.4943 GB, free: 7.992 MB / 366.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.002659/0.1498, allocations: 0.8576 MB / 0.4952 GB, free: 7.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1498, allocations: 8.031 kB / 0.4952 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.1499, allocations: 4.625 kB / 0.4952 GB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/0.1499, allocations: 58.67 kB / 0.4952 GB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.1502, allocations: 56.73 kB / 0.4953 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1505, allocations: 241.9 kB / 0.4955 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1505, allocations: 16.81 kB / 0.4955 GB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.1506, allocations: 28.31 kB / 0.4956 GB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.1512, allocations: 402.9 kB / 0.496 GB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1512, allocations: 0 / 0.496 GB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.1513, allocations: 8 kB / 0.496 GB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1513, allocations: 4 kB / 0.496 GB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.1518, allocations: 379.2 kB / 0.4963 GB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.1535, allocations: 0.8995 MB / 0.4972 GB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.1544, allocations: 371.3 kB / 0.4976 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.1547, allocations: 210.5 kB / 0.4978 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009879/0.1557, allocations: 0.6368 MB / 0.4984 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.1563, allocations: 425.6 kB / 0.4988 GB, free: 3.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.1563, allocations: 0 / 0.4988 GB, free: 3.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003261/0.1595, allocations: 1.097 MB / 0.4999 GB, free: 2.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.1597, allocations: 191.9 kB / 0.5 GB, free: 1.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.16, allocations: 260.9 kB / 0.5003 GB, free: 1.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.16, allocations: 29.7 kB / 0.5003 GB, free: 1.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1601, allocations: 168.6 kB / 0.5005 GB, free: 1.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1602, allocations: 111.1 kB / 0.5006 GB, free: 1.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1604, allocations: 82.12 kB / 0.5007 GB, free: 1.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1605, allocations: 338.8 kB / 0.501 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.1609, allocations: 218.5 kB / 0.5012 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.1613, allocations: 298.6 kB / 0.5015 GB, free: 300 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004836/0.1661, allocations: 1.428 MB / 0.5029 GB, free: 14.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1661, allocations: 3.938 kB / 0.5029 GB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001886/0.168, allocations: 0.8499 MB / 0.5037 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.168, allocations: 37.69 kB / 0.5037 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.168, allocations: 0 / 0.5037 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.1694, allocations: 316.5 kB / 0.504 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.1696, allocations: 55.91 kB / 0.5041 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.1738, allocations: 2.795 MB / 0.5068 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.1741, allocations: 39.78 kB / 0.5069 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.1742, allocations: 15.98 kB / 0.5069 GB, free: 10.55 MB / 382.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.0003505/0.1745, allocations: 217 kB / 0.5071 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.1746, allocations: 31.8 kB / 0.5071 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.1764, allocations: 0.7785 MB / 0.5079 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.1764, allocations: 3.984 kB / 0.5079 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.1764, allocations: 7.984 kB / 0.5079 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1764, allocations: 0 / 0.5079 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.177, allocations: 356.5 kB / 0.5082 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.177, allocations: 0 / 0.5082 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1771, allocations: 23.94 kB / 0.5083 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.1784, allocations: 316.8 kB / 0.5086 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.1784, allocations: 11.94 kB / 0.5086 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004168/0.1826, allocations: 2.76 MB / 0.5113 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1826, allocations: 0 / 0.5113 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.1845, allocations: 0.782 MB / 0.512 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.1846, allocations: 35.69 kB / 0.5121 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.1846, allocations: 12.11 kB / 0.5121 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.1849, allocations: 19.92 kB / 0.5121 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.185, allocations: 27.89 kB / 0.5121 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.185, allocations: 8 kB / 0.5121 GB, free: 4.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1852, allocations: 192.5 kB / 0.5123 GB, free: 4.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1852, allocations: 0 / 0.5123 GB, free: 4.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000575/0.1858, allocations: 124 kB / 0.5124 GB, free: 4.645 MB / 382.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.002151/0.1879, allocations: 1.326 MB / 0.5137 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.1897, allocations: 0.7741 MB / 0.5145 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1897, allocations: 0 / 0.5145 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.1908, allocations: 0.5002 MB / 0.515 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1911, allocations: 32.36 kB / 0.515 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/0.3903, allocations: 4.088 MB / 0.519 GB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3904, allocations: 159.3 kB / 0.5191 GB, free: 29.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3905, allocations: 30.41 kB / 0.5192 GB, free: 29.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3906, allocations: 84.94 kB / 0.5193 GB, free: 29.1 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3906, allocations: 0 / 0.5193 GB, free: 29.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05424/0.4449, allocations: 10.06 MB / 0.5291 GB, free: 27.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.74, allocations: 6.734 kB / 0.5291 GB, free: 27.65 MB / 382.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.376041576033458] Failed to read output from testmodel.py, exit status != 0: 12.913530741934665 12.937133847 12.785467948 Calling exit ...