Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009846/0.0009847, allocations: 91.23 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001181, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.598/1.598, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.000308, allocations: 8 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 51.5 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004252/0.1416, allocations: 3.451 MB / 362.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1444, allocations: 1.501 MB / 363.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.1447, allocations: 11.94 kB / 363.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.1455, allocations: 223.2 kB / 364 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.146, allocations: 242.6 kB / 364.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.1467, allocations: 235 kB / 364.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006629/0.1474, allocations: 0.6537 MB / 365.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1477, allocations: 136.5 kB / 365.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.148, allocations: 239 kB / 365.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.1483, allocations: 266.9 kB / 365.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.1484, allocations: 24 kB / 365.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1486, allocations: 67.97 kB / 365.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.1488, allocations: 119.5 kB / 365.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.149, allocations: 129.4 kB / 366.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.1495, allocations: 0.5145 MB / 366.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1496, allocations: 0 / 366.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1496, allocations: 0 / 366.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1496, allocations: 0 / 366.6 MB, free: 6.082 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001652/0.1512, allocations: 0.8672 MB / 367.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1513, allocations: 8.031 kB / 367.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.1516, allocations: 75.23 kB / 367.5 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.1522, allocations: 389.9 kB / 367.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.1522, allocations: 36.94 kB / 367.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.1523, allocations: 39.98 kB / 368 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/0.1531, allocations: 437.5 kB / 368.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1531, allocations: 0 / 368.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.1532, allocations: 20 kB / 368.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.1532, allocations: 15.94 kB / 368.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.1538, allocations: 307.8 kB / 368.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1562, allocations: 1.734 MB / 370.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.1569, allocations: 360.2 kB / 370.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.1573, allocations: 195.3 kB / 371 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.1573, allocations: 4 kB / 371 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004739/0.1578, allocations: 262.4 kB / 371.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.403e-06/0.1578, allocations: 0 / 371.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002164/0.16, allocations: 1.029 MB / 372.3 MB, free: 0 / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.4259, allocations: 182.6 kB / 372.5 MB, free: 19.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4271, allocations: 0.4989 MB / 373 MB, free: 19.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.4272, allocations: 36.39 kB / 373 MB, free: 19.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.4275, allocations: 254.5 kB / 373.3 MB, free: 19.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.4276, allocations: 125.8 kB / 373.4 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.4276, allocations: 8.688 kB / 373.4 MB, free: 19.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4277, allocations: 358.2 kB / 373.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.4281, allocations: 121 kB / 373.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.4285, allocations: 216.5 kB / 374.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.4288, allocations: 130.9 kB / 374.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4288, allocations: 0 / 374.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001104/0.43, allocations: 477.9 kB / 374.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.43, allocations: 12.75 kB / 374.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.43, allocations: 1.125 kB / 374.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.4306, allocations: 160.1 kB / 374.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.4309, allocations: 48.44 kB / 374.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/0.4356, allocations: 5.95 MB / 380.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.4361, allocations: 62.69 kB / 380.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.4362, allocations: 13.75 kB / 380.9 MB, free: 13.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.4365, allocations: 196.3 kB / 381.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.4366, allocations: 50.09 kB / 381.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.4368, allocations: 65.09 kB / 381.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4368, allocations: 4.312 kB / 381.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4368, allocations: 1.156 kB / 381.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4368, allocations: 2.391 kB / 381.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.4375, allocations: 497.9 kB / 381.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4376, allocations: 0.5625 kB / 381.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.4377, allocations: 30.08 kB / 381.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.4382, allocations: 158.5 kB / 381.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.4382, allocations: 12.75 kB / 381.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.4422, allocations: 5.792 MB / 387.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4422, allocations: 0 / 387.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.4433, allocations: 0.5039 MB / 388.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.4435, allocations: 163.1 kB / 388.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.4436, allocations: 11.44 kB / 388.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.4438, allocations: 37.75 kB / 388.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.444, allocations: 51.59 kB / 388.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.4441, allocations: 8.625 kB / 388.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004986/0.4446, allocations: 369.8 kB / 388.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4446, allocations: 0 / 388.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008987/0.4455, allocations: 172.7 kB / 389 MB, free: 6.309 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.4465, allocations: 425.6 kB / 389.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.4478, allocations: 0.8057 MB / 390.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4478, allocations: 0.7188 kB / 390.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.4486, allocations: 0.6582 MB / 390.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.4492, allocations: 121.9 kB / 391 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4514, allocations: 1.164 MB / 392.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.4519, allocations: 0.8587 MB / 393 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.452, allocations: 32.27 kB / 393.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.452, allocations: 3.938 kB / 393.1 MB, free: 3.543 MB / 302.1 MB Notification: Performance of Templates: time 0.02359/0.4756, allocations: 14.77 MB / 407.8 MB, free: 12.54 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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 OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o] Error 1