Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3442/0.3442, allocations: 78.54 MB / 94.17 MB, free: 3.934 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 107.6 kB / 113.7 MB, free: 9.805 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 192.5 kB / 133.4 MB, free: 6.152 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 375.8 MB, free: 3.742 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6539/0.6539, allocations: 62.27 MB / 0.4951 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 132.2 kB / 0.6437 GB, free: 14.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.12, allocations: 69.5 MB / 0.7115 GB, free: 13.94 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.004667/0.1247, allocations: 4.297 MB / 0.7157 GB, free: 9.617 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1269, allocations: 1.256 MB / 0.717 GB, free: 8.359 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.1271, allocations: 11.94 kB / 0.717 GB, free: 8.348 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1275, allocations: 110.9 kB / 0.7171 GB, free: 8.238 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.128, allocations: 262.2 kB / 0.7173 GB, free: 7.98 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009685/0.129, allocations: 0.5441 MB / 0.7179 GB, free: 7.438 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.1297, allocations: 0.8335 MB / 0.7187 GB, free: 6.598 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1299, allocations: 167.9 kB / 0.7188 GB, free: 6.426 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.1303, allocations: 362.6 kB / 0.7192 GB, free: 6.07 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.1308, allocations: 442.2 kB / 0.7196 GB, free: 5.637 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-05/0.1309, allocations: 68 kB / 0.7197 GB, free: 5.57 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.1312, allocations: 128 kB / 0.7198 GB, free: 5.445 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1313, allocations: 167.3 kB / 0.7199 GB, free: 5.281 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.1316, allocations: 358.1 kB / 0.7203 GB, free: 4.93 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0007125/0.1323, allocations: 0.8305 MB / 0.7211 GB, free: 4.098 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1323, allocations: 7.984 kB / 0.7211 GB, free: 4.09 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1323, allocations: 4 kB / 0.7211 GB, free: 4.086 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.1323, allocations: 0 / 0.7211 GB, free: 4.086 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002894/0.1352, allocations: 1.211 MB / 0.7223 GB, free: 2.824 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1353, allocations: 12.03 kB / 0.7223 GB, free: 2.812 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.1354, allocations: 82.7 kB / 0.7224 GB, free: 2.723 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/0.1363, allocations: 184 kB / 0.7226 GB, free: 2.543 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.1369, allocations: 496.8 kB / 0.723 GB, free: 2.016 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.137, allocations: 70.69 kB / 0.7231 GB, free: 1.941 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.137, allocations: 47.91 kB / 0.7231 GB, free: 1.895 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.1379, allocations: 0.5427 MB / 0.7237 GB, free: 1.332 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.138, allocations: 7.938 kB / 0.7237 GB, free: 1.324 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.138, allocations: 20 kB / 0.7237 GB, free: 1.305 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.138, allocations: 8 kB / 0.7237 GB, free: 1.297 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.1389, allocations: 495.7 kB / 0.7242 GB, free: 0.8125 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.1418, allocations: 2.077 MB / 0.7262 GB, free: 14.63 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/0.1427, allocations: 0.642 MB / 0.7268 GB, free: 13.93 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.1432, allocations: 278.9 kB / 0.7271 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/0.1433, allocations: 8.438 kB / 0.7271 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1433, allocations: 46.81 kB / 0.7271 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=51): time 1.794e-06/0.1433, allocations: 0 / 0.7271 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of matching and sorting (n=52): time 0.008343/0.1517, allocations: 2.842 MB / 0.7299 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.1518, allocations: 93.47 kB / 0.73 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.1523, allocations: 494.1 kB / 0.7305 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.1524, allocations: 37.7 kB / 0.7305 GB, free: 10.02 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1526, allocations: 280.2 kB / 0.7308 GB, free: 9.738 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.1527, allocations: 189.2 kB / 0.731 GB, free: 9.551 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.1529, allocations: 90.23 kB / 0.7311 GB, free: 9.457 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.153, allocations: 374.7 kB / 0.7314 GB, free: 9.082 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.1535, allocations: 229 kB / 0.7316 GB, free: 8.859 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.154, allocations: 345.1 kB / 0.732 GB, free: 8.484 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.155, allocations: 0.6011 MB / 0.7325 GB, free: 7.844 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.155, allocations: 0 / 0.7325 GB, free: 7.844 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007289/0.1623, allocations: 1.74 MB / 0.7342 GB, free: 6.094 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1624, allocations: 8 kB / 0.7343 GB, free: 6.086 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1624, allocations: 0 / 0.7343 GB, free: 6.086 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006612/0.169, allocations: 1.179 MB / 0.7354 GB, free: 4.902 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.1695, allocations: 103.8 kB / 0.7355 GB, free: 4.801 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.1806, allocations: 6.247 MB / 0.7416 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.1812, allocations: 31.97 kB / 0.7416 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.1813, allocations: 23.98 kB / 0.7417 GB, free: 14.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.1815, allocations: 173.7 kB / 0.7418 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.1817, allocations: 67.12 kB / 0.7419 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.1857, allocations: 1.323 MB / 0.7432 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1858, allocations: 7.938 kB / 0.7432 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1858, allocations: 4 kB / 0.7432 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1858, allocations: 7.984 kB / 0.7432 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.1908, allocations: 2.107 MB / 0.7453 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1909, allocations: 0 / 0.7453 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.1913, allocations: 83.89 kB / 0.7453 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002415/0.1937, allocations: 0.587 MB / 0.7459 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.1938, allocations: 15.94 kB / 0.7459 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006561/0.2004, allocations: 4.738 MB / 0.7506 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2004, allocations: 0 / 0.7506 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004591/0.205, allocations: 1.781 MB / 0.7523 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.2051, allocations: 140.4 kB / 0.7524 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.2052, allocations: 12.31 kB / 0.7524 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.2058, allocations: 35.97 kB / 0.7525 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.206, allocations: 72.28 kB / 0.7525 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.206, allocations: 15.98 kB / 0.7526 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003795/0.2064, allocations: 354.9 kB / 0.7529 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2064, allocations: 0 / 0.7529 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007256/0.2071, allocations: 196 kB / 0.7531 GB, free: 2.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004872/0.212, allocations: 2.346 MB / 0.7554 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002013/0.214, allocations: 0.8962 MB / 0.7562 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.214, allocations: 0 / 0.7562 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.2153, allocations: 0.6796 MB / 0.7569 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.2159, allocations: 58.05 kB / 0.757 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.2357, allocations: 7.487 MB / 0.7643 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.2361, allocations: 0.8833 MB / 0.7651 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.2363, allocations: 52.36 kB / 0.7652 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.2366, allocations: 215.4 kB / 0.7654 GB, free: 5.199 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2366, allocations: 0 / 0.7654 GB, free: 5.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.2799, allocations: 17.92 MB / 0.7829 GB, free: 3.527 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.18, allocations: 12.23 kB / 0.7829 GB, free: 3.52 MB / 0.5607 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)