Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009938/0.0009938, allocations: 96.72 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 201.3 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009547/0.1739, allocations: 7.261 MB / 366.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.1806, allocations: 2.573 MB / 368.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1819, allocations: 23.94 kB / 368.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1837, allocations: 457.4 kB / 369.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.186, allocations: 397.1 kB / 369.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.1868, allocations: 167.8 kB / 369.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.189, allocations: 1.354 MB / 371 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007909/0.1898, allocations: 431.3 kB / 371.4 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.1907, allocations: 469.9 kB / 371.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.1914, allocations: 0.5132 MB / 372.4 MB, free: 468 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.1915, allocations: 64 kB / 372.5 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.1919, allocations: 99.98 kB / 372.6 MB, free: 304 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1921, allocations: 195.1 kB / 372.8 MB, free: 108 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.297/0.489, allocations: 260.6 kB / 373 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.4917, allocations: 1.374 MB / 374.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.4918, allocations: 4.062 kB / 374.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4918, allocations: 1.5 kB / 374.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.4918, allocations: 1.031 kB / 374.4 MB, free: 10.73 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00234/0.4942, allocations: 1.295 MB / 375.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4942, allocations: 9.75 kB / 375.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007451/0.495, allocations: 204.4 kB / 375.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.4962, allocations: 0.7147 MB / 376.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/0.4963, allocations: 77.89 kB / 376.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.4965, allocations: 105.1 kB / 376.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.4986, allocations: 0.9434 MB / 377.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.4986, allocations: 3.406 kB / 377.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.4987, allocations: 42.81 kB / 377.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.4987, allocations: 24.75 kB / 377.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.5001, allocations: 0.6564 MB / 378.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.5055, allocations: 3.965 MB / 382.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.5062, allocations: 452.8 kB / 382.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.5069, allocations: 278.1 kB / 383.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.5069, allocations: 11.75 kB / 383.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.507, allocations: 39.72 kB / 383.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.507, allocations: 0.9375 kB / 383.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002976/0.5099, allocations: 1.576 MB / 384.8 MB, free: 6.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.51, allocations: 80.7 kB / 384.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.5113, allocations: 0.8332 MB / 385.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.5113, allocations: 31.86 kB / 385.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.5117, allocations: 0.5667 MB / 386.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5118, allocations: 166.4 kB / 386.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.5118, allocations: 16.78 kB / 386.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.5119, allocations: 335.9 kB / 386.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.5123, allocations: 181.2 kB / 387 MB, free: 5.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.5128, allocations: 470.7 kB / 387.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.5133, allocations: 254.5 kB / 387.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.5133, allocations: 7.375 kB / 387.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001381/0.5147, allocations: 0.7904 MB / 388.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.5147, allocations: 9.438 kB / 388.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5148, allocations: 13 kB / 388.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.515, allocations: 86.56 kB / 388.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.5155, allocations: 157.1 kB / 388.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.5173, allocations: 2.871 MB / 391.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.5179, allocations: 46.14 kB / 391.6 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.518, allocations: 33.62 kB / 391.7 MB, free: 2.785 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * Single equations (assignments): 83 * 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 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004422/0.5184, allocations: 262.7 kB / 391.9 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.5186, allocations: 94.39 kB / 392 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009352/0.5195, allocations: 0.5139 MB / 392.5 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5195, allocations: 5.562 kB / 392.5 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5195, allocations: 0.9688 kB / 392.5 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5196, allocations: 0 / 392.5 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.5217, allocations: 1.487 MB / 394 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5217, allocations: 2.188 kB / 394 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.5221, allocations: 76.59 kB / 394.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.5223, allocations: 75.89 kB / 394.2 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.5223, allocations: 12.47 kB / 394.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.5245, allocations: 2.86 MB / 397 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5245, allocations: 2.25 kB / 397 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.5261, allocations: 0.8166 MB / 397.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.5264, allocations: 205.7 kB / 398.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5265, allocations: 12.53 kB / 398.1 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.5269, allocations: 36.66 kB / 398.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.527, allocations: 30.48 kB / 398.1 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.5271, allocations: 22.33 kB / 398.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009365/0.528, allocations: 0.5647 MB / 398.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.528, allocations: 0 / 398.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001199/0.5292, allocations: 209 kB / 398.9 MB, free: 13.65 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (39): * Single equations (assignments): 37 * 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 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002282/0.5295, allocations: 124.9 kB / 399.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.5307, allocations: 0.7138 MB / 399.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5307, allocations: 1.375 kB / 399.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006837/0.5314, allocations: 457.2 kB / 400.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.5326, allocations: 222.2 kB / 400.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.5359, allocations: 2.186 MB / 402.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.5366, allocations: 1.008 MB / 403.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.5368, allocations: 63.8 kB / 403.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5368, allocations: 0 / 403.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of Templates: time 0.02734/0.5641, allocations: 21.18 MB / 424.9 MB, free: 7.414 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.o] Error 1