Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009641/0.000964, allocations: 103.9 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009572/0.0009573, allocations: 47.92 kB / 356.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.224, allocations: 50.45 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002788/0.2268, allocations: 2.369 MB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2279, allocations: 0.7961 MB / 410.2 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.228, allocations: 11.88 kB / 410.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.2282, allocations: 39.77 kB / 410.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.2284, allocations: 42.94 kB / 410.3 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.2288, allocations: 147.8 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.229, allocations: 359.5 kB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2292, allocations: 91.8 kB / 410.9 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.2294, allocations: 147.5 kB / 411 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2295, allocations: 171.3 kB / 411.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.2296, allocations: 20 kB / 411.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.2296, allocations: 20 kB / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.2297, allocations: 71.8 kB / 411.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.2298, allocations: 139.2 kB / 411.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.23, allocations: 308.4 kB / 411.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.23, allocations: 4 kB / 411.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.23, allocations: 0 / 411.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2301, allocations: 0 / 411.7 MB, free: 23.13 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009565/0.231, allocations: 0.6084 MB / 412.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.2311, allocations: 12.88 kB / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.2311, allocations: 44.55 kB / 412.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.2314, allocations: 265.4 kB / 412.7 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.2315, allocations: 134.2 kB / 412.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.2316, allocations: 28.38 kB / 412.8 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.2326, allocations: 0.5502 MB / 413.4 MB, free: 21.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.2326, allocations: 3.906 kB / 413.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2326, allocations: 12 kB / 413.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2326, allocations: 8 kB / 413.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.2339, allocations: 0.5113 MB / 413.9 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.2351, allocations: 1.01 MB / 414.9 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.2365, allocations: 0.5024 MB / 415.4 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.2371, allocations: 263.4 kB / 415.7 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.2371, allocations: 4 kB / 415.7 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2372, allocations: 50.5 kB / 415.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.724e-06/0.2372, allocations: 0 / 415.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.03643/0.2736, allocations: 5.708 MB / 421.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.2737, allocations: 148.9 kB / 421.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.2739, allocations: 190.6 kB / 421.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.2739, allocations: 37.7 kB / 421.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.274, allocations: 145.5 kB / 422 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.2741, allocations: 193.3 kB / 422.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.2744, allocations: 106.6 kB / 422.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.2745, allocations: 346.8 kB / 422.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.2759, allocations: 0.6149 MB / 423.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.2774, allocations: 0.7978 MB / 424 MB, free: 10.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.28, allocations: 1.247 MB / 425.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.28, allocations: 0 / 425.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003156/0.2832, allocations: 1.405 MB / 426.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2832, allocations: 10.81 kB / 426.7 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2832, allocations: 4 kB / 426.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.2833, allocations: 8 kB / 426.7 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.2845, allocations: 207.7 kB / 426.9 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.2846, allocations: 15.92 kB / 426.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/0.2855, allocations: 103.8 kB / 427 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/0.2856, allocations: 27.98 kB / 427 MB, free: 7.355 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.2858, allocations: 182.1 kB / 427.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.2861, allocations: 157.2 kB / 427.4 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.2863, allocations: 63.3 kB / 427.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2863, allocations: 12 kB / 427.4 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.2863, allocations: 4 kB / 427.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2863, allocations: 3.984 kB / 427.4 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.2903, allocations: 2.163 MB / 429.6 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.2904, allocations: 12 kB / 429.6 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.291, allocations: 184.8 kB / 429.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.2911, allocations: 12 kB / 429.8 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.2911, allocations: 28 kB / 429.8 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.2911, allocations: 31.8 kB / 429.9 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.2911, allocations: 15.94 kB / 429.9 MB, free: 4.297 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "PI.x = previous(PI.x) + PI.u * PI.Ts / PI.T" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005327/0.2965, allocations: 2.393 MB / 432.3 MB, free: 1.727 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.