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.001348/0.001348, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001567/0.001567, allocations: 221 kB / 23.03 MB, free: 5.016 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.03942/0.03942, allocations: 6.14 MB / 319.4 MB, free: 12.77 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="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 0.001604/0.001604, allocations: 43.92 kB / 444.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1125, allocations: 55.04 MB / 499.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003152/0.1156, allocations: 1.653 MB / 0.4894 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.1183, allocations: 1.571 MB / 0.4909 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1184, allocations: 12 kB / 0.4909 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.1188, allocations: 139.3 kB / 0.491 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1192, allocations: 147.1 kB / 0.4912 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1209, allocations: 0.7743 MB / 0.4919 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.1213, allocations: 322.5 kB / 0.4922 GB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.1215, allocations: 87.28 kB / 0.4923 GB, free: 9.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.1217, allocations: 135.5 kB / 0.4924 GB, free: 9.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.122, allocations: 159.3 kB / 0.4926 GB, free: 8.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.122, allocations: 32 kB / 0.4926 GB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.1224, allocations: 219.8 kB / 0.4928 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.1225, allocations: 71.75 kB / 0.4929 GB, free: 8.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.1226, allocations: 143.2 kB / 0.493 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.1234, allocations: 0.5139 MB / 0.4935 GB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1234, allocations: 0 / 0.4935 GB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1234, allocations: 0 / 0.4935 GB, free: 8.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1234, allocations: 0 / 0.4935 GB, free: 8.023 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.002846/0.1263, allocations: 0.8537 MB / 0.4944 GB, free: 7.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.1263, allocations: 12.03 kB / 0.4944 GB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.985e-05/0.1264, allocations: 58.72 kB / 0.4944 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.1266, allocations: 44.73 kB / 0.4945 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.1271, allocations: 245.8 kB / 0.4947 GB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1271, allocations: 16.81 kB / 0.4947 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.1271, allocations: 28.38 kB / 0.4948 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.1278, allocations: 395.2 kB / 0.4951 GB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1278, allocations: 11.92 kB / 0.4952 GB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.1279, allocations: 12 kB / 0.4952 GB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1279, allocations: 7.938 kB / 0.4952 GB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.1285, allocations: 367.3 kB / 0.4955 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.1303, allocations: 0.9034 MB / 0.4964 GB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/0.1312, allocations: 372.1 kB / 0.4968 GB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.1315, allocations: 210.5 kB / 0.497 GB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.1326, allocations: 0.6212 MB / 0.4976 GB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/0.1332, allocations: 421.4 kB / 0.498 GB, free: 3.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.414e-06/0.1332, allocations: 0 / 0.498 GB, free: 3.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.0033/0.1365, allocations: 1.09 MB / 0.499 GB, free: 2.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.1367, allocations: 195.9 kB / 0.4992 GB, free: 1.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.137, allocations: 272.8 kB / 0.4995 GB, free: 1.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.137, allocations: 33.7 kB / 0.4995 GB, free: 1.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1371, allocations: 156.7 kB / 0.4997 GB, free: 1.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1372, allocations: 107.1 kB / 0.4998 GB, free: 1.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.1374, allocations: 90.11 kB / 0.4999 GB, free: 1.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1376, allocations: 330.8 kB / 0.5002 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.1379, allocations: 222.5 kB / 0.5004 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.1383, allocations: 290.6 kB / 0.5007 GB, free: 364 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.1432, allocations: 1.443 MB / 0.5021 GB, free: 14.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1432, allocations: 3.938 kB / 0.5021 GB, free: 14.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002074/0.1453, allocations: 0.846 MB / 0.5029 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.1454, allocations: 37.69 kB / 0.5029 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1454, allocations: 3.938 kB / 0.5029 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.1467, allocations: 312.6 kB / 0.5032 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1469, allocations: 59.91 kB / 0.5033 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.1512, allocations: 2.799 MB / 0.506 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1515, allocations: 35.73 kB / 0.5061 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.1516, allocations: 16 kB / 0.5061 GB, free: 10.6 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.0003197/0.1519, allocations: 218.2 kB / 0.5063 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.152, allocations: 31.81 kB / 0.5063 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.1537, allocations: 0.7864 MB / 0.5071 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1537, allocations: 8 kB / 0.5071 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1538, allocations: 4 kB / 0.5071 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1538, allocations: 3.984 kB / 0.5071 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1542, allocations: 348.5 kB / 0.5074 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1542, allocations: 0 / 0.5074 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1543, allocations: 27.98 kB / 0.5075 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.1555, allocations: 300.6 kB / 0.5077 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.1556, allocations: 15.92 kB / 0.5078 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/0.1597, allocations: 2.776 MB / 0.5105 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1597, allocations: 0 / 0.5105 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.1616, allocations: 0.7743 MB / 0.5112 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.1616, allocations: 31.78 kB / 0.5113 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.1617, allocations: 8 kB / 0.5113 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1619, allocations: 11.98 kB / 0.5113 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.162, allocations: 35.89 kB / 0.5113 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.162, allocations: 20.03 kB / 0.5113 GB, free: 4.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.1622, allocations: 188.4 kB / 0.5115 GB, free: 4.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1622, allocations: 4 kB / 0.5115 GB, free: 4.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005547/0.1628, allocations: 123.9 kB / 0.5116 GB, free: 4.68 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.002339/0.1651, allocations: 1.337 MB / 0.5129 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.1667, allocations: 0.7707 MB / 0.5137 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1667, allocations: 0 / 0.5137 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.1676, allocations: 0.4956 MB / 0.5142 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1679, allocations: 24.38 kB / 0.5142 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2006/0.3685, allocations: 4.095 MB / 0.5182 GB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3686, allocations: 158.3 kB / 0.5183 GB, free: 29.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3687, allocations: 27.12 kB / 0.5184 GB, free: 29.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3689, allocations: 87.44 kB / 0.5185 GB, free: 29.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3689, allocations: 0 / 0.5185 GB, free: 29.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.4113, allocations: 10.37 MB / 0.5286 GB, free: 27.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 1.344 kB / 0.5286 GB, free: 27.24 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.596987019758672] Failed to read output from testmodel.py, exit status != 0: 12.14848952786997 12.170659376 12.04334409 Calling exit ...