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.001356/0.001356, allocations: 101 kB / 20.52 MB, free: 1.449 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.001446/0.001446, allocations: 214.6 kB / 23.84 MB, free: 4.664 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.496/1.496, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.03914/0.03914, allocations: 6.139 MB / 320.2 MB, free: 13.06 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.001585/0.001585, allocations: 51.92 kB / 445.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1083, allocations: 55.02 MB / 0.4886 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.0032/0.1115, allocations: 1.856 MB / 0.4904 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1141, allocations: 1.645 MB / 0.492 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1142, allocations: 7.938 kB / 0.492 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.1147, allocations: 139.2 kB / 0.4921 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.1151, allocations: 143.1 kB / 0.4923 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1169, allocations: 0.8559 MB / 0.4931 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.1174, allocations: 330.5 kB / 0.4934 GB, free: 9.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1176, allocations: 87.58 kB / 0.4935 GB, free: 9.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.1178, allocations: 143.5 kB / 0.4937 GB, free: 9.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.1181, allocations: 175.3 kB / 0.4938 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.1182, allocations: 32 kB / 0.4938 GB, free: 8.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.1186, allocations: 235.8 kB / 0.4941 GB, free: 8.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.1187, allocations: 71.69 kB / 0.4941 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.1189, allocations: 155.3 kB / 0.4943 GB, free: 8.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.1196, allocations: 0.5178 MB / 0.4948 GB, free: 7.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1196, allocations: 0 / 0.4948 GB, free: 7.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1196, allocations: 0 / 0.4948 GB, free: 7.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1197, allocations: 0 / 0.4948 GB, free: 7.953 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.002902/0.1226, allocations: 0.8614 MB / 0.4956 GB, free: 7.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1226, allocations: 12.03 kB / 0.4956 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.005e-05/0.1226, allocations: 8.625 kB / 0.4957 GB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.544e-05/0.1227, allocations: 54.73 kB / 0.4957 GB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.123, allocations: 56.72 kB / 0.4958 GB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.1234, allocations: 241.9 kB / 0.496 GB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.1234, allocations: 20.81 kB / 0.496 GB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.1235, allocations: 28.31 kB / 0.496 GB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.1241, allocations: 339.5 kB / 0.4964 GB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1241, allocations: 0 / 0.4964 GB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.1241, allocations: 15.98 kB / 0.4964 GB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1241, allocations: 4 kB / 0.4964 GB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.1247, allocations: 337.6 kB / 0.4967 GB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.1268, allocations: 1.213 MB / 0.4979 GB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.1277, allocations: 349 kB / 0.4982 GB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.128, allocations: 184.8 kB / 0.4984 GB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.1291, allocations: 0.7186 MB / 0.4991 GB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005866/0.1297, allocations: 358.1 kB / 0.4994 GB, free: 2.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.1297, allocations: 3.938 kB / 0.4994 GB, free: 2.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003342/0.133, allocations: 1.027 MB / 0.5005 GB, free: 1.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.1332, allocations: 195.9 kB / 0.5006 GB, free: 1.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.1335, allocations: 256.9 kB / 0.5009 GB, free: 1.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.1335, allocations: 33.7 kB / 0.5009 GB, free: 1.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1336, allocations: 160.7 kB / 0.5011 GB, free: 1.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1337, allocations: 111.1 kB / 0.5012 GB, free: 1.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.1339, allocations: 86.12 kB / 0.5013 GB, free: 1.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1341, allocations: 334.8 kB / 0.5016 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.1344, allocations: 188.8 kB / 0.5018 GB, free: 500 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.1348, allocations: 272.8 kB / 0.502 GB, free: 200 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/0.1397, allocations: 1.424 MB / 0.5034 GB, free: 14.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1397, allocations: 0 / 0.5034 GB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001917/0.1416, allocations: 0.8286 MB / 0.5042 GB, free: 13.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.1417, allocations: 33.7 kB / 0.5042 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1417, allocations: 0 / 0.5042 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.1431, allocations: 320.5 kB / 0.5046 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.1434, allocations: 63.91 kB / 0.5046 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004506/0.1479, allocations: 2.846 MB / 0.5074 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.1483, allocations: 39.73 kB / 0.5074 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.1484, allocations: 16.03 kB / 0.5074 GB, free: 10.43 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.0004408/0.1488, allocations: 207.8 kB / 0.5076 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.1489, allocations: 27.86 kB / 0.5077 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.1508, allocations: 0.7378 MB / 0.5084 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1508, allocations: 7.938 kB / 0.5084 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.1508, allocations: 4 kB / 0.5084 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1508, allocations: 0 / 0.5084 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.1514, allocations: 440.2 kB / 0.5088 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1514, allocations: 0 / 0.5088 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1515, allocations: 23.98 kB / 0.5088 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.1528, allocations: 308.6 kB / 0.5091 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.1528, allocations: 23.86 kB / 0.5092 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004565/0.1574, allocations: 2.811 MB / 0.5119 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1574, allocations: 0 / 0.5119 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.1594, allocations: 0.7413 MB / 0.5126 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1595, allocations: 31.75 kB / 0.5127 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.1596, allocations: 16 kB / 0.5127 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.1598, allocations: 7.984 kB / 0.5127 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1599, allocations: 35.89 kB / 0.5127 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.16, allocations: 8 kB / 0.5127 GB, free: 4.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.1602, allocations: 184.5 kB / 0.5129 GB, free: 4.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1602, allocations: 0 / 0.5129 GB, free: 4.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.1608, allocations: 139.8 kB / 0.513 GB, free: 4.484 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.002205/0.163, allocations: 1.289 MB / 0.5143 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.1646, allocations: 0.7083 MB / 0.515 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1646, allocations: 0.5 kB / 0.515 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.1655, allocations: 477.8 kB / 0.5154 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.0002886/0.1658, allocations: 28.38 kB / 0.5155 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1879/0.3537, allocations: 3.928 MB / 0.5193 GB, free: 29.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3539, allocations: 0.7609 MB / 0.52 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.3541, allocations: 35.77 kB / 0.5201 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3543, allocations: 83.7 kB / 0.5202 GB, free: 28.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3543, allocations: 1.188 kB / 0.5202 GB, free: 28.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.3999, allocations: 9.846 MB / 0.5298 GB, free: 27.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.6, allocations: 2.375 kB / 0.5298 GB, free: 27.09 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.304367405013181] Failed to read output from testmodel.py, exit status != 0: 12.775186276063323 12.799909687 12.675999241 Calling exit ...