Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 102.8 kB / 15.71 MB, free: 460 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.557/1.557, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.001372/0.001372, allocations: 188.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03283/0.03283, allocations: 8.784 MB / 350.8 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004601, allocations: 15.17 kB / 413.8 MB, free: 43.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1428, allocations: 52.55 MB / 466.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01886/0.1617, allocations: 14.03 MB / 480.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1742, allocations: 4.946 MB / 485.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.1787, allocations: 87.69 kB / 485.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.183, allocations: 0.9323 MB / 486.4 MB, free: 9.52 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006472/0.1895, allocations: 1.247 MB / 487.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.1924, allocations: 0.6739 MB / 488.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009318/0.2017, allocations: 4.524 MB / 492.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005357/0.2072, allocations: 2.417 MB / 495.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.211, allocations: 1.428 MB / 496.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004827/0.2159, allocations: 1.789 MB / 498.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.2172, allocations: 232 kB / 498.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.2195, allocations: 435.7 kB / 499.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009751/0.2205, allocations: 0.8328 MB / 499.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.2227, allocations: 0.8239 MB / 0.489 GB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009808/0.2325, allocations: 5.952 MB / 0.4948 GB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.2326, allocations: 4 kB / 0.4948 GB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.2326, allocations: 3.938 kB / 0.4948 GB, free: 5.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002608/0.2329, allocations: 0 / 0.4948 GB, free: 5.066 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01314/0.246, allocations: 4.105 MB / 0.4988 GB, free: 0.8906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.2461, allocations: 8.031 kB / 0.4988 GB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006318/0.2524, allocations: 0.9553 MB / 0.4998 GB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/0.2594, allocations: 2.496 MB / 0.5022 GB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.2597, allocations: 279.4 kB / 0.5025 GB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.261, allocations: 371.9 kB / 0.5028 GB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.2728, allocations: 4.653 MB / 0.5074 GB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.531e-05/0.273, allocations: 7.906 kB / 0.5074 GB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003642/0.2733, allocations: 152 kB / 0.5075 GB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.2735, allocations: 159.2 kB / 0.5077 GB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00839/0.2819, allocations: 3.878 MB / 0.5115 GB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03562/0.3176, allocations: 15.63 MB / 0.5267 GB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3152/0.6329, allocations: 6.037 MB / 0.5326 GB, free: 59.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.6357, allocations: 1.381 MB / 0.534 GB, free: 59.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007529/0.6432, allocations: 4.247 MB / 0.5381 GB, free: 58.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.6433, allocations: 45.16 kB / 0.5382 GB, free: 58.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 3.296e-06/0.6433, allocations: 0 / 0.5382 GB, free: 58.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01104/0.6544, allocations: 5.184 MB / 0.5432 GB, free: 56.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.6545, allocations: 67.3 kB / 0.5433 GB, free: 56.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/0.6584, allocations: 1.998 MB / 0.5452 GB, free: 56.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.6585, allocations: 53.06 kB / 0.5453 GB, free: 56.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.66, allocations: 1.665 MB / 0.5469 GB, free: 55.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/0.6604, allocations: 482.3 kB / 0.5474 GB, free: 55.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.6605, allocations: 40.53 kB / 0.5474 GB, free: 55.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6607, allocations: 381.3 kB / 0.5478 GB, free: 55.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.6619, allocations: 0.6568 MB / 0.5484 GB, free: 54.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.6635, allocations: 1.375 MB / 0.5498 GB, free: 53.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.665, allocations: 0.9173 MB / 0.5507 GB, free: 53.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/0.6651, allocations: 7.406 kB / 0.5507 GB, free: 53.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005115/0.6702, allocations: 2.47 MB / 0.5531 GB, free: 52.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.6703, allocations: 15.28 kB / 0.5531 GB, free: 52.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.961e-05/0.6703, allocations: 22.88 kB / 0.5531 GB, free: 52.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.6708, allocations: 151.1 kB / 0.5533 GB, free: 52.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.6725, allocations: 464.4 kB / 0.5537 GB, free: 52.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.6745, allocations: 1.943 MB / 0.5556 GB, free: 50.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.6765, allocations: 83.16 kB / 0.5557 GB, free: 50.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.6766, allocations: 94.88 kB / 0.5558 GB, free: 50.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (242): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00206/0.6787, allocations: 1.061 MB / 0.5568 GB, free: 49.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004728/0.6792, allocations: 216 kB / 0.557 GB, free: 49.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.6822, allocations: 2.019 MB / 0.559 GB, free: 48.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6822, allocations: 11.81 kB / 0.559 GB, free: 48.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.6822, allocations: 11.14 kB / 0.559 GB, free: 48.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.6822, allocations: 3.797 kB / 0.559 GB, free: 48.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/0.6894, allocations: 4.956 MB / 0.5638 GB, free: 45.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.6894, allocations: 0 / 0.5638 GB, free: 45.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000788/0.6902, allocations: 203.4 kB / 0.564 GB, free: 45.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008149/0.691, allocations: 332.6 kB / 0.5644 GB, free: 45.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.6911, allocations: 31 kB / 0.5644 GB, free: 45.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.6963, allocations: 6.525 MB / 0.5708 GB, free: 39.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6963, allocations: 0 / 0.5708 GB, free: 39.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.7, allocations: 2.892 MB / 0.5736 GB, free: 38.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009601/0.701, allocations: 434.5 kB / 0.574 GB, free: 37.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.7012, allocations: 32 kB / 0.574 GB, free: 37.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/0.7021, allocations: 59.88 kB / 0.5741 GB, free: 37.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.7023, allocations: 105.1 kB / 0.5742 GB, free: 37.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.7024, allocations: 43.92 kB / 0.5742 GB, free: 37.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00179/0.7041, allocations: 1.343 MB / 0.5755 GB, free: 36.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7042, allocations: 4 kB / 0.5755 GB, free: 36.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002184/0.7063, allocations: 0.6016 MB / 0.5761 GB, free: 35.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000278/0.7066, allocations: 164.9 kB / 0.5763 GB, free: 35.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.7091, allocations: 1.875 MB / 0.5781 GB, free: 33.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7091, allocations: 0 / 0.5781 GB, free: 33.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.7106, allocations: 1.223 MB / 0.5793 GB, free: 32.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.7128, allocations: 0.5596 MB / 0.5799 GB, free: 31.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/0.7223, allocations: 7.265 MB / 0.587 GB, free: 24.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.7239, allocations: 2.342 MB / 0.5892 GB, free: 21.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/0.7246, allocations: 159.4 kB / 0.5894 GB, free: 21.73 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.7246, allocations: 0 / 0.5894 GB, free: 21.73 MB / 366.1 MB Notification: Performance of Templates: time 0.1045/0.829, allocations: 84.36 MB / 0.6718 GB, free: 1.434 MB / 430.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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 OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3CalcHelperMain.o] Error 1