Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.001229/0.00123, allocations: 178.9 kB / 18.21 MB, free: 5.684 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.819/1.819, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1681/0.1681, allocations: 38.06 MB / 310.7 MB, free: 5.906 MB / 254.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.0005181/0.0005181, allocations: 16.56 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3392, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.007975/0.3473, allocations: 7.657 MB / 441.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004731/0.352, allocations: 3.202 MB / 445 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004934/0.3525, allocations: 47.69 kB / 445 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.3532, allocations: 202.8 kB / 445.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.3545, allocations: 0.7238 MB / 446 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.3551, allocations: 275.7 kB / 446.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.3566, allocations: 2.112 MB / 448.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.3578, allocations: 1.247 MB / 449.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.3583, allocations: 0.494 MB / 450.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.3591, allocations: 0.6929 MB / 450.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.575e-05/0.3592, allocations: 60 kB / 450.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.36, allocations: 0.6239 MB / 451.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.3603, allocations: 414.9 kB / 451.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.3608, allocations: 0.5732 MB / 452.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.3624, allocations: 1.656 MB / 454.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3624, allocations: 0 / 454.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3624, allocations: 4 kB / 454.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3625, allocations: 0 / 454.1 MB, free: 14.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.002738/0.3652, allocations: 1.336 MB / 455.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3653, allocations: 12.03 kB / 455.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.3659, allocations: 167.5 kB / 455.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.3672, allocations: 0.8073 MB / 456.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.3674, allocations: 208.7 kB / 456.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.3676, allocations: 107.9 kB / 456.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3699, allocations: 1.477 MB / 458.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.37, allocations: 4 kB / 458.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3701, allocations: 36 kB / 458.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.3703, allocations: 73.97 kB / 458.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.3724, allocations: 1.276 MB / 459.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007009/0.3794, allocations: 5.239 MB / 464.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.381, allocations: 1.033 MB / 465.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/0.3818, allocations: 0.4925 MB / 466.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.215e-05/0.3819, allocations: 16.53 kB / 466.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3819, allocations: 51.06 kB / 466.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=74): time 1.934e-06/0.3819, allocations: 0 / 466.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=78): time 0.00602/0.388, allocations: 3.125 MB / 469.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.388, allocations: 111.4 kB / 469.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.3889, allocations: 0.6914 MB / 470.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.389, allocations: 37.7 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.3894, allocations: 478.9 kB / 470.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.3897, allocations: 272.1 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3898, allocations: 93.66 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.39, allocations: 390.7 kB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.3908, allocations: 445.8 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009449/0.3917, allocations: 0.7204 MB / 472.8 MB, free: 11.24 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bldcm.rotor.w = bldcm.rotor.w_start (loadInertia.w_start = bldcm.rotor.w_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005712/0.3974, allocations: 2.606 MB / 475.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3975, allocations: 0 / 475.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002257/0.3997, allocations: 1.324 MB / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3998, allocations: 8.094 kB / 476.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.3998, allocations: 19.94 kB / 476.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.4001, allocations: 81.61 kB / 476.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.4008, allocations: 227.6 kB / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.402, allocations: 1.347 MB / 478.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.4026, allocations: 91.83 kB / 478.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.4027, allocations: 40 kB / 478.5 MB, free: 5.207 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: bldcm.rotor.w = bldcm.rotor.w_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[6],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005803/0.4033, allocations: 420.9 kB / 478.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4035, allocations: 75.06 kB / 479 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.4052, allocations: 0.9862 MB / 480 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.4053, allocations: 16 kB / 480 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4053, allocations: 4 kB / 480 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4053, allocations: 3.984 kB / 480 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.4089, allocations: 2.304 MB / 482.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4089, allocations: 4 kB / 482.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.4096, allocations: 135.8 kB / 482.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.452e-05/0.4097, allocations: 28.88 kB / 482.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.4098, allocations: 19.94 kB / 482.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.4108, allocations: 1.288 MB / 483.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4108, allocations: 7.922 kB / 483.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.4133, allocations: 1.653 MB / 485.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.4137, allocations: 251.9 kB / 485.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4138, allocations: 23.92 kB / 485.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.4143, allocations: 59.94 kB / 485.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.4144, allocations: 56.42 kB / 485.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.4145, allocations: 16 kB / 485.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000615/0.4151, allocations: 483 kB / 486.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4151, allocations: 4 kB / 486.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001007/0.4161, allocations: 256 kB / 486.5 MB, free: 12.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (efficiency.pav,efficiency.qav,bldcm.motor.i_s[1],bldcm.motor.i_s[2],bldcm.motor.i_s[3],loadInertia.w,frictTorq.phi) * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[1],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000457/0.4166, allocations: 159.8 kB / 486.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.4186, allocations: 1.246 MB / 487.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4186, allocations: 0 / 487.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009367/0.4196, allocations: 0.6154 MB / 488.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.4208, allocations: 222.3 kB / 488.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/0.4257, allocations: 3.204 MB / 492 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/0.4265, allocations: 1.161 MB / 493.1 MB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.4268, allocations: 75.36 kB / 493.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4268, allocations: 0 / 493.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of Templates: time 0.02824/0.4551, allocations: 20.7 MB / 0.5019 GB, free: 1.371 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCCalcHelperMain.o] Error 1