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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 115.6 kB / 17.17 MB, free: 5.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 196.5 kB / 20.13 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0509/0.0509, allocations: 8.229 MB / 311.6 MB, free: 2.066 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001863/0.001863, allocations: 63.91 kB / 433.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2684, allocations: 54.36 MB / 488.3 MB, free: 27.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002655/0.2711, allocations: 1.922 MB / 490.2 MB, free: 25.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.2729, allocations: 1.607 MB / 491.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2731, allocations: 4.375 kB / 491.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.2734, allocations: 136.8 kB / 492 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.2737, allocations: 160.7 kB / 492.1 MB, free: 24.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.275, allocations: 0.8637 MB / 493 MB, free: 23.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.2754, allocations: 352.2 kB / 493.3 MB, free: 23.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2755, allocations: 94.25 kB / 493.4 MB, free: 23.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2757, allocations: 143.9 kB / 493.6 MB, free: 23.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.2759, allocations: 183.8 kB / 493.8 MB, free: 23.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.2759, allocations: 33 kB / 493.8 MB, free: 23.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.2762, allocations: 218.5 kB / 494 MB, free: 23.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.2763, allocations: 69.08 kB / 494.1 MB, free: 23.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.2764, allocations: 170.6 kB / 494.2 MB, free: 23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.2769, allocations: 0.5086 MB / 494.7 MB, free: 22.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2769, allocations: 0 / 494.7 MB, free: 22.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2769, allocations: 0 / 494.7 MB, free: 22.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2769, allocations: 4 kB / 494.7 MB, free: 22.65 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.002262/0.2792, allocations: 0.9394 MB / 495.7 MB, free: 21.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2792, allocations: 13.48 kB / 495.7 MB, free: 21.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.2793, allocations: 54.98 kB / 495.8 MB, free: 21.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.2795, allocations: 53.47 kB / 495.8 MB, free: 21.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.2798, allocations: 310.2 kB / 496.1 MB, free: 21.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2798, allocations: 18.44 kB / 496.1 MB, free: 21.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.2799, allocations: 26.19 kB / 496.2 MB, free: 21.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.2803, allocations: 339.7 kB / 496.5 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2804, allocations: 3.938 kB / 496.5 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2804, allocations: 11.03 kB / 496.5 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2804, allocations: 9.094 kB / 496.5 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.2808, allocations: 322.2 kB / 496.8 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.2822, allocations: 1.357 MB / 498.2 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.2829, allocations: 483.7 kB / 498.7 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2832, allocations: 178.5 kB / 498.8 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/0.284, allocations: 0.903 MB / 499.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.2844, allocations: 363.7 kB / 0.4884 GB, free: 18.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.2844, allocations: 0 / 0.4884 GB, free: 18.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002759/0.2872, allocations: 1.094 MB / 0.4894 GB, free: 17.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.2872, allocations: 199 kB / 0.4896 GB, free: 17.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.2874, allocations: 263.5 kB / 0.4899 GB, free: 17.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2875, allocations: 36.89 kB / 0.4899 GB, free: 17.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.2876, allocations: 160.7 kB / 0.4901 GB, free: 16.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.2876, allocations: 108.2 kB / 0.4902 GB, free: 16.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2877, allocations: 79.09 kB / 0.4902 GB, free: 16.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.2878, allocations: 340.5 kB / 0.4906 GB, free: 16.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.2881, allocations: 182.6 kB / 0.4907 GB, free: 16.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.2883, allocations: 274.8 kB / 0.491 GB, free: 16.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/0.2924, allocations: 1.421 MB / 0.4924 GB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2924, allocations: 1.344 kB / 0.4924 GB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001533/0.2939, allocations: 0.8119 MB / 0.4932 GB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.294, allocations: 33.33 kB / 0.4932 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.294, allocations: 10.62 kB / 0.4932 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.2951, allocations: 320.6 kB / 0.4935 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.2953, allocations: 61.53 kB / 0.4936 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.2985, allocations: 2.937 MB / 0.4965 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.2988, allocations: 42.95 kB / 0.4965 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.2988, allocations: 21.53 kB / 0.4965 GB, free: 12.13 MB / 366.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.0002687/0.2991, allocations: 202.8 kB / 0.4967 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.2992, allocations: 34.5 kB / 0.4967 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.3007, allocations: 0.7352 MB / 0.4975 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3007, allocations: 3.094 kB / 0.4975 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3007, allocations: 2.438 kB / 0.4975 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3007, allocations: 3.984 kB / 0.4975 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.3011, allocations: 480 kB / 0.4979 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3011, allocations: 0 / 0.4979 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.3012, allocations: 29.02 kB / 0.498 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.3023, allocations: 306.5 kB / 0.4982 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.3023, allocations: 12.66 kB / 0.4983 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.3054, allocations: 2.924 MB / 0.5011 GB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3054, allocations: 0 / 0.5011 GB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3067, allocations: 0.7286 MB / 0.5018 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.3068, allocations: 113.1 kB / 0.5019 GB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.3068, allocations: 9.5 kB / 0.5019 GB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.307, allocations: 9.5 kB / 0.502 GB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3071, allocations: 28.33 kB / 0.502 GB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3071, allocations: 16.19 kB / 0.502 GB, free: 7.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.3073, allocations: 191.5 kB / 0.5022 GB, free: 7.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 0 / 0.5022 GB, free: 7.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.3078, allocations: 129.3 kB / 0.5023 GB, free: 7.637 MB / 366.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.001673/0.3095, allocations: 1.295 MB / 0.5036 GB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.3107, allocations: 0.7005 MB / 0.5043 GB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3107, allocations: 0 / 0.5043 GB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.3115, allocations: 465.7 kB / 0.5047 GB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3117, allocations: 30.59 kB / 0.5047 GB, free: 5.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.3169, allocations: 3.952 MB / 0.5086 GB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.3171, allocations: 0.7647 MB / 0.5093 GB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.762e-05/0.3172, allocations: 34.34 kB / 0.5094 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3173, allocations: 83.41 kB / 0.5094 GB, free: 1.852 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3173, allocations: 0 / 0.5094 GB, free: 1.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.3547, allocations: 9.563 MB / 0.5188 GB, free: 8.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.767/10.12, allocations: 3.984 kB / 0.5188 GB, free: 8.406 MB / 382.1 MB " [Timeout remaining time 650] (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: 12.537892437074333] Failed to read output from testmodel.py, exit status != 0: 10.205717553850263 10.229603717 9.948307226 Calling exit ...