Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 239.3 MB, free: 4.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 192.5 kB / 289.6 MB, free: 2.383 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4408/0.4408, allocations: 78.53 MB / 418.2 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 75.88 kB / 497.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.134, allocations: 68.18 MB / 0.5525 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.2301/0.3641, allocations: 7.508 MB / 0.5598 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.3684, allocations: 2.286 MB / 0.562 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.3695, allocations: 11.59 kB / 0.562 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.3702, allocations: 292.4 kB / 0.5623 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.3731, allocations: 1.207 MB / 0.5635 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3743, allocations: 0.5867 MB / 0.5641 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.3763, allocations: 2.008 MB / 0.566 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.3767, allocations: 341.6 kB / 0.5664 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008078/0.3775, allocations: 0.773 MB / 0.5671 GB, free: 33.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008121/0.3784, allocations: 1.007 MB / 0.5681 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.3786, allocations: 145.3 kB / 0.5682 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006022/0.3792, allocations: 378 kB / 0.5686 GB, free: 33.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.3794, allocations: 399 kB / 0.569 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.3799, allocations: 0.8013 MB / 0.5698 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.3815, allocations: 1.999 MB / 0.5717 GB, free: 32.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3815, allocations: 0 / 0.5717 GB, free: 32.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3815, allocations: 0 / 0.5717 GB, free: 32.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.3816, allocations: 1.25 kB / 0.5717 GB, free: 32.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.01415/0.3957, allocations: 3.875 MB / 0.5755 GB, free: 31.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3958, allocations: 11.88 kB / 0.5755 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.396, allocations: 142.6 kB / 0.5756 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004258/0.4003, allocations: 0.7262 MB / 0.5764 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.4018, allocations: 0.9738 MB / 0.5773 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.4021, allocations: 363.3 kB / 0.5777 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.4023, allocations: 99.56 kB / 0.5777 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.4045, allocations: 1.286 MB / 0.579 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4045, allocations: 3.188 kB / 0.579 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4046, allocations: 35.16 kB / 0.579 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.4047, allocations: 22.8 kB / 0.5791 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.4069, allocations: 1.218 MB / 0.5803 GB, free: 30.13 MB / 430.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.007333/0.4142, allocations: 4.431 MB / 0.5846 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00734/0.4216, allocations: 2.518 MB / 0.587 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.4236, allocations: 0.8496 MB / 0.5879 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.4238, allocations: 21.33 kB / 0.5879 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.4238, allocations: 48.2 kB / 0.5879 GB, free: 26.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.606e-06/0.4239, allocations: 0 / 0.5879 GB, free: 26.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04921/0.4731, allocations: 11.35 MB / 0.599 GB, free: 24.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.4732, allocations: 95.12 kB / 0.5991 GB, free: 24.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.475, allocations: 1.185 MB / 0.6003 GB, free: 24.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003223/0.4753, allocations: 50.45 kB / 0.6003 GB, free: 23.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.4756, allocations: 0.5368 MB / 0.6008 GB, free: 23.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.4761, allocations: 403 kB / 0.6012 GB, free: 23.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000509/0.4766, allocations: 288.1 kB / 0.6015 GB, free: 23.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.4766, allocations: 309 kB / 0.6018 GB, free: 22.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.4784, allocations: 0.8873 MB / 0.6027 GB, free: 22.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.4803, allocations: 1.072 MB / 0.6037 GB, free: 21.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.4839, allocations: 1.957 MB / 0.6056 GB, free: 20.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.4839, allocations: 1.781 kB / 0.6056 GB, free: 20.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01662/0.5006, allocations: 5.32 MB / 0.6108 GB, free: 18.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5006, allocations: 6.531 kB / 0.6108 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5006, allocations: 7.031 kB / 0.6108 GB, free: 18.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00872/0.5094, allocations: 2.567 MB / 0.6133 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.5105, allocations: 239.6 kB / 0.6136 GB, free: 16.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.516, allocations: 2.748 MB / 0.6162 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.518, allocations: 207 kB / 0.6164 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5182, allocations: 55.98 kB / 0.6165 GB, free: 13.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004649/0.5187, allocations: 273.5 kB / 0.6168 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.5189, allocations: 142.2 kB / 0.6169 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.5332, allocations: 4.775 MB / 0.6216 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.5333, allocations: 18.47 kB / 0.6216 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5333, allocations: 0 / 0.6216 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.5333, allocations: 3.984 kB / 0.6216 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.5498, allocations: 6.545 MB / 0.628 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.5499, allocations: 0 / 0.628 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.5505, allocations: 105.1 kB / 0.6281 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007814/0.5583, allocations: 2.334 MB / 0.6304 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.5586, allocations: 19.98 kB / 0.6304 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02678/0.5853, allocations: 10.77 MB / 0.6409 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5854, allocations: 3.938 kB / 0.6409 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/0.6042, allocations: 5.944 MB / 0.6467 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005898/0.6049, allocations: 247 kB / 0.6469 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004688/0.6054, allocations: 16 kB / 0.6469 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.607, allocations: 115.8 kB / 0.6471 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008497/0.6079, allocations: 245.1 kB / 0.6473 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.608, allocations: 28 kB / 0.6473 GB, free: 13.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001346/0.6094, allocations: 0.7974 MB / 0.6481 GB, free: 12.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6094, allocations: 0 / 0.6481 GB, free: 12.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00175/0.6112, allocations: 0.4976 MB / 0.6486 GB, free: 12.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,gENCLS.omega) * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01937/0.6305, allocations: 6.545 MB / 0.655 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009153/0.6397, allocations: 2.67 MB / 0.6576 GB, free: 2.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6398, allocations: 0 / 0.6576 GB, free: 2.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006472/0.6463, allocations: 1.858 MB / 0.6594 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6479, allocations: 121.6 kB / 0.6595 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05263/0.7006, allocations: 19.83 MB / 0.6789 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/0.7015, allocations: 1.166 MB / 0.68 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006156/0.7022, allocations: 110.4 kB / 0.6801 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008526/0.703, allocations: 0.5188 MB / 0.6806 GB, free: 10.81 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.703, allocations: 0 / 0.6806 GB, free: 10.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0773/0.7804, allocations: 39.83 MB / 0.7195 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.68, allocations: 2.656 kB / 0.7195 GB, free: 3.293 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)