Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008317/0.0008319, allocations: 91.92 kB / 16.34 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 185.3 kB / 17.23 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05627/0.05627, allocations: 14.16 MB / 285.8 MB, free: 13.99 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005099, allocations: 12 kB / 348.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2914, allocations: 51.1 MB / 399.9 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.004716/0.2961, allocations: 4.906 MB / 404.8 MB, free: 44.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.3007, allocations: 2.742 MB / 407.5 MB, free: 42.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.3011, allocations: 11.66 kB / 407.5 MB, free: 42.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.3019, allocations: 209.1 kB / 407.8 MB, free: 41.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.304, allocations: 0.9678 MB / 408.7 MB, free: 41.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.3047, allocations: 383.8 kB / 409.1 MB, free: 40.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.3061, allocations: 1.343 MB / 410.4 MB, free: 40.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3063, allocations: 75.08 kB / 410.5 MB, free: 39.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.3068, allocations: 415.5 kB / 410.9 MB, free: 39.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.3074, allocations: 469.3 kB / 411.4 MB, free: 39.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.3074, allocations: 37.81 kB / 411.4 MB, free: 39.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.308, allocations: 255.8 kB / 411.7 MB, free: 39.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.3081, allocations: 135.4 kB / 411.8 MB, free: 39.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3082, allocations: 161.3 kB / 412 MB, free: 38.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.3088, allocations: 0.8205 MB / 412.8 MB, free: 38.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3089, allocations: 0 / 412.8 MB, free: 38.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3089, allocations: 0 / 412.8 MB, free: 38.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3089, allocations: 0 / 412.8 MB, free: 38.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002603/0.3115, allocations: 1.22 MB / 414 MB, free: 36.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3115, allocations: 12.03 kB / 414 MB, free: 36.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.3119, allocations: 111 kB / 414.1 MB, free: 36.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.3126, allocations: 0.5118 MB / 414.6 MB, free: 36.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.3126, allocations: 45 kB / 414.7 MB, free: 36.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.3127, allocations: 67.84 kB / 414.7 MB, free: 36.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.3134, allocations: 482.1 kB / 415.2 MB, free: 35.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3134, allocations: 0 / 415.2 MB, free: 35.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.3134, allocations: 20 kB / 415.2 MB, free: 35.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3135, allocations: 12 kB / 415.2 MB, free: 35.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.3142, allocations: 491.7 kB / 415.7 MB, free: 35.02 MB / 318.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.003413/0.3176, allocations: 2.887 MB / 418.6 MB, free: 31.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3186, allocations: 0.7804 MB / 419.4 MB, free: 31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.319, allocations: 234.5 kB / 419.6 MB, free: 30.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.319, allocations: 16.5 kB / 419.6 MB, free: 30.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.319, allocations: 35.12 kB / 419.7 MB, free: 30.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.513e-06/0.319, allocations: 0 / 419.7 MB, free: 30.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004325/0.3234, allocations: 2.101 MB / 421.8 MB, free: 28.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3234, allocations: 59.97 kB / 421.8 MB, free: 28.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.3239, allocations: 498.7 kB / 422.3 MB, free: 27.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.3239, allocations: 45.7 kB / 422.4 MB, free: 27.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3241, allocations: 253.1 kB / 422.6 MB, free: 27.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3242, allocations: 232.8 kB / 422.8 MB, free: 27.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.3243, allocations: 23.94 kB / 422.9 MB, free: 27.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3244, allocations: 374.8 kB / 423.2 MB, free: 27.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.3249, allocations: 333.9 kB / 423.5 MB, free: 26.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.3254, allocations: 409.4 kB / 423.9 MB, free: 26.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.326, allocations: 387 kB / 424.3 MB, free: 25.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.326, allocations: 0 / 424.3 MB, free: 25.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004194/0.3302, allocations: 1.601 MB / 425.9 MB, free: 24.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.3303, allocations: 114.8 kB / 426 MB, free: 24.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.3303, allocations: 3.953 kB / 426 MB, free: 24.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/0.3344, allocations: 1.015 MB / 427.1 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.3351, allocations: 203.8 kB / 427.3 MB, free: 22.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009461/0.3446, allocations: 9.352 MB / 436.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.3453, allocations: 35.89 kB / 436.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.3454, allocations: 32 kB / 436.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3454, allocations: 4 kB / 436.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002366/0.3478, allocations: 1.2 MB / 437.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3478, allocations: 4 kB / 437.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.3497, allocations: 0.5988 MB / 438.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.3505, allocations: 219.7 kB / 438.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007393/0.3579, allocations: 10.55 MB / 449.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/0.3586, allocations: 35.89 kB / 449.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.3586, allocations: 31.98 kB / 449.3 MB, free: 15.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,3 7,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004015/0.359, allocations: 273 kB / 449.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3592, allocations: 67.19 kB / 449.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.3608, allocations: 0.7908 MB / 450.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3608, allocations: 8 kB / 450.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3608, allocations: 0 / 450.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.3608, allocations: 7.938 kB / 450.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.3633, allocations: 1.564 MB / 452 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3634, allocations: 0 / 452 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.364, allocations: 135.9 kB / 452.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008146/0.3648, allocations: 275.2 kB / 452.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.3648, allocations: 8 kB / 452.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003307/0.3681, allocations: 2.388 MB / 454.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3682, allocations: 7.922 kB / 454.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.3817, allocations: 8.164 MB / 463 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.382, allocations: 184.2 kB / 463.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.3821, allocations: 15.94 kB / 463.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.3824, allocations: 23.91 kB / 463.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.3826, allocations: 44.48 kB / 463.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.3826, allocations: 20 kB / 463.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.383, allocations: 326.9 kB / 463.6 MB, free: 440 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3831, allocations: 0 / 463.6 MB, free: 440 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002054/0.3851, allocations: 0.6172 MB / 464.2 MB, free: 15.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003028/0.3854, allocations: 154.9 kB / 464.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004832/0.3903, allocations: 2.99 MB / 467.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3903, allocations: 3.938 kB / 467.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.3913, allocations: 0.5249 MB / 467.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.3919, allocations: 87.14 kB / 468 MB, free: 11.88 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.3956, allocations: 2.358 MB / 470.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.3962, allocations: 0.94 MB / 471.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3964, allocations: 47.42 kB / 471.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3964, allocations: 0 / 471.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of Templates: time 0.02218/0.4186, allocations: 18.48 MB / 489.8 MB, free: 5.961 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurateCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurateCalcHelperMain.o] Error 1