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.006625/0.006625, allocations: 104.2 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001601/0.001601, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4926/0.4926, allocations: 78.53 MB / 418.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 79.88 kB / 0.5531 GB, free: 1.445 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4344, allocations: 68.17 MB / 0.6197 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006329/0.4407, allocations: 7.515 MB / 0.6271 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.446, allocations: 2.282 MB / 0.6293 GB, free: 460 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.4469, allocations: 12 kB / 0.6293 GB, free: 448 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.4476, allocations: 301.6 kB / 0.6296 GB, free: 144 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.4509, allocations: 1.27 MB / 0.6308 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.4523, allocations: 0.5808 MB / 0.6314 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002575/0.4549, allocations: 2.022 MB / 0.6334 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.4556, allocations: 347.2 kB / 0.6337 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.4569, allocations: 0.7782 MB / 0.6345 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.4584, allocations: 1.007 MB / 0.6354 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005443/0.459, allocations: 144 kB / 0.6356 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.46, allocations: 375.7 kB / 0.6359 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.4603, allocations: 398.4 kB / 0.6363 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.4612, allocations: 0.8041 MB / 0.6371 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.4634, allocations: 2.02 MB / 0.6391 GB, free: 6.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4634, allocations: 0 / 0.6391 GB, free: 6.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4634, allocations: 0 / 0.6391 GB, free: 6.379 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.4634, allocations: 0 / 0.6391 GB, free: 6.379 MB / 446.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.01522/0.4787, allocations: 3.873 MB / 0.6429 GB, free: 2.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4787, allocations: 12.03 kB / 0.6429 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003827/0.4791, allocations: 135.3 kB / 0.643 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/0.4841, allocations: 0.7278 MB / 0.6437 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.4864, allocations: 0.9742 MB / 0.6447 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.4868, allocations: 357.3 kB / 0.645 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.4872, allocations: 100 kB / 0.6451 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.4903, allocations: 1.289 MB / 0.6463 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.4903, allocations: 0 / 0.6463 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.4905, allocations: 39.94 kB / 0.6464 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.4905, allocations: 20 kB / 0.6464 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.4933, allocations: 1.222 MB / 0.6476 GB, free: 13.46 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.00952/0.5028, allocations: 4.407 MB / 0.6519 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/0.5101, allocations: 2.524 MB / 0.6544 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.5119, allocations: 0.8523 MB / 0.6552 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.5121, allocations: 24.98 kB / 0.6552 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5122, allocations: 43.56 kB / 0.6553 GB, free: 5.293 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 2.815e-06/0.5122, allocations: 0 / 0.6553 GB, free: 5.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.0476/0.5598, allocations: 11.35 MB / 0.6663 GB, free: 9.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.5599, allocations: 94.05 kB / 0.6664 GB, free: 9.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.5623, allocations: 1.184 MB / 0.6676 GB, free: 8.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003298/0.5626, allocations: 53.7 kB / 0.6676 GB, free: 8.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005934/0.5632, allocations: 0.5368 MB / 0.6682 GB, free: 7.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006972/0.5639, allocations: 402.2 kB / 0.6686 GB, free: 7.598 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009207/0.5649, allocations: 287.4 kB / 0.6688 GB, free: 7.312 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.565, allocations: 309.1 kB / 0.6691 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.5671, allocations: 0.8824 MB / 0.67 GB, free: 6.125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.5693, allocations: 1.073 MB / 0.671 GB, free: 5.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.5734, allocations: 1.96 MB / 0.6729 GB, free: 3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5734, allocations: 0 / 0.6729 GB, free: 3 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01715/0.5906, allocations: 5.32 MB / 0.6781 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.5907, allocations: 8 kB / 0.6781 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5907, allocations: 3.938 kB / 0.6782 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009336/0.6, allocations: 2.565 MB / 0.6807 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.6013, allocations: 239.6 kB / 0.6809 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006333/0.6077, allocations: 2.748 MB / 0.6836 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.6099, allocations: 210.5 kB / 0.6838 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002892/0.6102, allocations: 55.98 kB / 0.6838 GB, free: 7.812 MB / 494.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.0007518/0.6109, allocations: 273.5 kB / 0.6841 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/0.6114, allocations: 142.2 kB / 0.6842 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/0.6273, allocations: 4.774 MB / 0.6889 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.6274, allocations: 12 kB / 0.6889 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.6274, allocations: 0 / 0.6889 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.117e-05/0.6274, allocations: 11.95 kB / 0.6889 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.6461, allocations: 6.539 MB / 0.6953 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.6462, allocations: 4 kB / 0.6953 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.6468, allocations: 99.89 kB / 0.6954 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008189/0.655, allocations: 2.333 MB / 0.6977 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/0.6553, allocations: 20 kB / 0.6977 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02729/0.6826, allocations: 10.75 MB / 0.7082 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6826, allocations: 0 / 0.7082 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.7011, allocations: 5.949 MB / 0.714 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007095/0.7019, allocations: 254.9 kB / 0.7142 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000409/0.7023, allocations: 16 kB / 0.7143 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.7039, allocations: 111.9 kB / 0.7144 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009259/0.7049, allocations: 241.1 kB / 0.7146 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.7051, allocations: 31.98 kB / 0.7146 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001576/0.7067, allocations: 0.8012 MB / 0.7154 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7067, allocations: 0 / 0.7154 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001917/0.7086, allocations: 495.5 kB / 0.7159 GB, free: 6.637 MB / 0.5137 GB 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.01867/0.7273, allocations: 6.542 MB / 0.7223 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008362/0.7357, allocations: 2.64 MB / 0.7248 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7357, allocations: 0 / 0.7248 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005817/0.7415, allocations: 1.859 MB / 0.7267 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7434, allocations: 125 kB / 0.7268 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05217/0.7956, allocations: 18.95 MB / 0.7453 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.7967, allocations: 1.155 MB / 0.7464 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006114/0.7974, allocations: 112.5 kB / 0.7465 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000945/0.7983, allocations: 0.5227 MB / 0.747 GB, free: 6.438 MB / 0.545 GB Notification: Performance of SimCode: time 2.314e-06/0.7983, allocations: 0 / 0.747 GB, free: 6.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/1.165, allocations: 40.28 MB / 0.7864 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.39, allocations: 2.031 kB / 0.7864 GB, free: 134.5 MB / 0.5606 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)