Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.001571/0.001571, allocations: 108.3 kB / 16.46 MB, free: 6.035 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.513/1.513, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] 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.001465/0.001465, allocations: 194.5 kB / 299.8 MB, free: 9.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4571/0.4571, allocations: 79.73 MB / 434.4 MB, free: 6.215 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003336/0.003336, allocations: 83.88 kB / 0.5784 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1721, allocations: 72.09 MB / 0.6488 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006484/0.1786, allocations: 4.926 MB / 0.6536 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1821, allocations: 1.603 MB / 0.6551 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.1825, allocations: 8 kB / 0.6551 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.183, allocations: 166.6 kB / 0.6553 GB, free: 11.06 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001658/0.1846, allocations: 0.6721 MB / 0.656 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.1855, allocations: 427.6 kB / 0.6564 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.1868, allocations: 1.078 MB / 0.6574 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.1871, allocations: 142.3 kB / 0.6576 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005689/0.1877, allocations: 454.2 kB / 0.658 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.1884, allocations: 0.5679 MB / 0.6585 GB, free: 7.723 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1885, allocations: 100 kB / 0.6586 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.189, allocations: 227.9 kB / 0.6589 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.1892, allocations: 227.2 kB / 0.6591 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.1896, allocations: 477.4 kB / 0.6595 GB, free: 6.711 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1911, allocations: 1.261 MB / 0.6608 GB, free: 5.445 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1911, allocations: 4 kB / 0.6608 GB, free: 5.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1911, allocations: 0 / 0.6608 GB, free: 5.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1911, allocations: 0 / 0.6608 GB, free: 5.441 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005579/0.1967, allocations: 1.781 MB / 0.6625 GB, free: 3.605 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1967, allocations: 12.03 kB / 0.6625 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.1969, allocations: 90.7 kB / 0.6626 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.2001, allocations: 0.5267 MB / 0.6631 GB, free: 2.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2012, allocations: 0.6515 MB / 0.6638 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.2014, allocations: 138.1 kB / 0.6639 GB, free: 2.121 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2015, allocations: 52 kB / 0.6639 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.2029, allocations: 0.6661 MB / 0.6646 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2029, allocations: 0 / 0.6646 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.203, allocations: 20 kB / 0.6646 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.203, allocations: 15.94 kB / 0.6646 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.2043, allocations: 0.6286 MB / 0.6652 GB, free: 0.7344 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.2091, allocations: 2.628 MB / 0.6678 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.2209, allocations: 2.762 MB / 0.6705 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009788/0.2218, allocations: 406.3 kB / 0.6709 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.401e-05/0.2219, allocations: 8.562 kB / 0.6709 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2219, allocations: 39.06 kB / 0.6709 GB, free: 10.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.755e-06/0.2219, allocations: 0 / 0.6709 GB, free: 10.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01271/0.2347, allocations: 3.52 MB / 0.6744 GB, free: 7.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.2347, allocations: 59.97 kB / 0.6744 GB, free: 7.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.236, allocations: 0.774 MB / 0.6752 GB, free: 6.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/0.2361, allocations: 33.7 kB / 0.6752 GB, free: 6.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.2364, allocations: 361 kB / 0.6756 GB, free: 5.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.2366, allocations: 226.1 kB / 0.6758 GB, free: 5.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.237, allocations: 166.6 kB / 0.6759 GB, free: 5.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.2372, allocations: 394.7 kB / 0.6763 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.2383, allocations: 0.4939 MB / 0.6768 GB, free: 4.613 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.2395, allocations: 0.5992 MB / 0.6774 GB, free: 3.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/0.2554, allocations: 3.556 MB / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.2555, allocations: 0 / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008062/0.2635, allocations: 2.392 MB / 0.6832 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.2635, allocations: 6.188 kB / 0.6832 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2636, allocations: 4 kB / 0.6832 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/0.2679, allocations: 1.042 MB / 0.6842 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008608/0.2687, allocations: 151.8 kB / 0.6844 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.2803, allocations: 5.072 MB / 0.6893 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.2815, allocations: 111.5 kB / 0.6894 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.2817, allocations: 35.98 kB / 0.6895 GB, free: 7.418 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006284/0.2823, allocations: 215.9 kB / 0.6897 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.2826, allocations: 87.42 kB / 0.6897 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/0.2886, allocations: 1.937 MB / 0.6916 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2886, allocations: 4 kB / 0.6916 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.2887, allocations: 4 kB / 0.6916 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.2887, allocations: 3.984 kB / 0.6916 GB, free: 5.145 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/0.2963, allocations: 3.028 MB / 0.6946 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.2963, allocations: 0 / 0.6946 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.2968, allocations: 63.91 kB / 0.6947 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/0.3002, allocations: 0.9312 MB / 0.6956 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.3002, allocations: 15.94 kB / 0.6956 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3551/0.6554, allocations: 4.112 MB / 0.6996 GB, free: 44.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6554, allocations: 4.172 kB / 0.6996 GB, free: 44.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007395/0.6628, allocations: 2.502 MB / 0.702 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.6631, allocations: 184.4 kB / 0.7022 GB, free: 44.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6632, allocations: 16.2 kB / 0.7022 GB, free: 44.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/0.664, allocations: 50.23 kB / 0.7023 GB, free: 44.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/0.6644, allocations: 120.7 kB / 0.7024 GB, free: 44.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.6645, allocations: 14.2 kB / 0.7024 GB, free: 44.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007989/0.6653, allocations: 0.5213 MB / 0.7029 GB, free: 44 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6653, allocations: 0 / 0.7029 GB, free: 44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001099/0.6664, allocations: 298.5 kB / 0.7032 GB, free: 43.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007793/0.6742, allocations: 3.07 MB / 0.7062 GB, free: 42.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005215/0.6794, allocations: 1.644 MB / 0.7078 GB, free: 41.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6794, allocations: 0.5625 kB / 0.7078 GB, free: 41.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003173/0.6825, allocations: 1.037 MB / 0.7088 GB, free: 41.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.6836, allocations: 63.48 kB / 0.7089 GB, free: 41.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/0.7057, allocations: 9.898 MB / 0.7186 GB, free: 36.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.7061, allocations: 0.9414 MB / 0.7195 GB, free: 36.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000363/0.7065, allocations: 67.8 kB / 0.7195 GB, free: 36.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/0.7068, allocations: 287.5 kB / 0.7198 GB, free: 35.92 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7068, allocations: 0 / 0.7198 GB, free: 35.92 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/0.7584, allocations: 21.71 MB / 0.741 GB, free: 19.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.06, allocations: 7.516 kB / 0.741 GB, free: 19.99 MB / 494.1 MB " [Timeout remaining time 647] (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.35242870915681] Failed to read output from testmodel.py, exit status != 0: 13.154510678723454 13.171103038 12.976675129 Calling exit ...