Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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 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.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007245/0.0007247, allocations: 95.3 kB / 16.95 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.0007407/0.0007407, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.326/1.326, allocations: 223.2 MB / 241.8 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1742/0.1742, allocations: 38.1 MB / 331.1 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 59.17 MB / 459.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005654/0.1173, allocations: 5.382 MB / 465.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.1234, allocations: 3.95 MB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.1239, allocations: 27.81 kB / 469.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007464/0.1314, allocations: 4.383 MB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009142/0.1323, allocations: 354.2 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.1329, allocations: 191.7 kB / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.1347, allocations: 1.766 MB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009032/0.1356, allocations: 0.638 MB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.136, allocations: 298.7 kB / 476.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.1365, allocations: 390.6 kB / 477.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.1365, allocations: 24 kB / 477.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1367, allocations: 35.92 kB / 477.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1369, allocations: 223.4 kB / 477.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.137, allocations: 137.4 kB / 477.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.1375, allocations: 0.6273 MB / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1375, allocations: 0 / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1376, allocations: 0 / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1376, allocations: 4 kB / 478.3 MB, free: 4.918 MB / 350.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.001255/0.1388, allocations: 0.7577 MB / 479 MB, free: 4.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1389, allocations: 8.031 kB / 479 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.1391, allocations: 75.14 kB / 479.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/0.1399, allocations: 0.5328 MB / 479.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.14, allocations: 32.98 kB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.1401, allocations: 47.91 kB / 479.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008779/0.1409, allocations: 0.6297 MB / 480.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.141, allocations: 4 kB / 480.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.141, allocations: 19.98 kB / 480.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.1411, allocations: 52.95 kB / 480.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.1418, allocations: 459.6 kB / 480.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.1447, allocations: 2.519 MB / 483.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.1451, allocations: 285.2 kB / 483.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1453, allocations: 150.1 kB / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1453, allocations: 4 kB / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1453, allocations: 38.56 kB / 483.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.795e-06/0.1454, allocations: 11.98 kB / 483.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002768/0.1481, allocations: 1.571 MB / 485.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.1482, allocations: 81.11 kB / 485.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.1486, allocations: 413.7 kB / 485.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1487, allocations: 37.73 kB / 486 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1488, allocations: 303.4 kB / 486.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.1489, allocations: 106.5 kB / 486.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.149, allocations: 8 kB / 486.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1491, allocations: 358.7 kB / 486.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1493, allocations: 128.8 kB / 486.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.1496, allocations: 278.8 kB / 487.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.1499, allocations: 192 kB / 487.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1499, allocations: 4 kB / 487.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009912/0.1509, allocations: 0.6674 MB / 488 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1509, allocations: 4 kB / 488 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1509, allocations: 8 kB / 488 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.1514, allocations: 157.8 kB / 488.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.1516, allocations: 71.89 kB / 488.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.1548, allocations: 3.389 MB / 491.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.1551, allocations: 19.98 kB / 491.6 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.1551, allocations: 16 kB / 491.6 MB, free: 6.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003142/0.1555, allocations: 241.7 kB / 491.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.1555, allocations: 43.44 kB / 491.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009121/0.1565, allocations: 0.5752 MB / 492.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1565, allocations: 4 kB / 492.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006742/0.1572, allocations: 488 kB / 493 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1572, allocations: 3.984 kB / 493 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.1586, allocations: 0.9981 MB / 494 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1586, allocations: 3.953 kB / 494 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.1588, allocations: 43.91 kB / 494 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.1591, allocations: 88.78 kB / 494.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1591, allocations: 8 kB / 494.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.161, allocations: 1.863 MB / 496 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.161, allocations: 4.062 kB / 496 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000885/0.1619, allocations: 0.64 MB / 496.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.162, allocations: 140.7 kB / 496.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.1621, allocations: 15.95 kB / 496.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1623, allocations: 11.94 kB / 496.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.1623, allocations: 19.97 kB / 496.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1623, allocations: 8 kB / 496.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003694/0.1627, allocations: 303.1 kB / 497.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1627, allocations: 0 / 497.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.1633, allocations: 120 kB / 497.2 MB, free: 0.7891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.1635, allocations: 107.2 kB / 497.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009782/0.1645, allocations: 0.6148 MB / 497.9 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1645, allocations: 0 / 497.9 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.165, allocations: 294.7 kB / 498.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.1656, allocations: 105.7 kB / 498.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1676, allocations: 1.431 MB / 499.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.1682, allocations: 0.9205 MB / 0.4889 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.1683, allocations: 43.36 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1683, allocations: 0 / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01267/0.181, allocations: 9.881 MB / 0.4986 GB, free: 3.293 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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 OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.o] Error 1